Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009909/0.0009909, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9539/0.9539, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.734/1.734, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.496e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004616/0.004641, allocations: 4.868 MB / 0.7919 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.006714, allocations: 2.84 MB / 0.7946 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-05/0.006812, allocations: 4.75 kB / 0.7946 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.007083, allocations: 51.67 kB / 0.7947 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.007337, allocations: 101 kB / 0.7948 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.008509, allocations: 0.5692 MB / 0.7953 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.008786, allocations: 243.8 kB / 0.7956 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.008827, allocations: 14.56 kB / 0.7956 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.009026, allocations: 159.6 kB / 0.7957 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.009146, allocations: 84.69 kB / 0.7958 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.009171, allocations: 8 kB / 0.7958 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005139/0.009685, allocations: 328.5 kB / 0.7962 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.009764, allocations: 39.88 kB / 0.7962 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.903e-05/0.009833, allocations: 63.84 kB / 0.7962 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.01033, allocations: 358.9 kB / 0.7966 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01033, allocations: 0.8125 kB / 0.7966 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.01033, allocations: 0 / 0.7966 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.01034, allocations: 1.969 kB / 0.7966 GB, free: 2.785 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006793/0.01102, allocations: 0.5388 MB / 0.7971 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.01106, allocations: 8.031 kB / 0.7971 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.01124, allocations: 40.72 kB / 0.7972 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.01145, allocations: 169 kB / 0.7973 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.01146, allocations: 20.14 kB / 0.7973 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.01149, allocations: 16.38 kB / 0.7974 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.01181, allocations: 438.1 kB / 0.7978 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.01182, allocations: 192 / 0.7978 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.01184, allocations: 16.12 kB / 0.7978 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.01187, allocations: 7.938 kB / 0.7978 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.01211, allocations: 291.5 kB / 0.7981 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.0129, allocations: 0.9838 MB / 0.799 GB, free: 84 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.01313, allocations: 136.9 kB / 0.7992 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.01319, allocations: 49.86 kB / 0.7992 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/0.01369, allocations: 0.5387 MB / 0.7997 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.01371, allocations: 41.83 kB / 0.7998 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.01371, allocations: 0 / 0.7998 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0002452/0.01396, allocations: 128.8 kB / 0.7999 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.01398, allocations: 56.05 kB / 0.8 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.01409, allocations: 220.2 kB / 0.8002 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.01411, allocations: 30.36 kB / 0.8002 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.01418, allocations: 194.8 kB / 0.8004 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.01421, allocations: 58.03 kB / 0.8004 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.01426, allocations: 51.36 kB / 0.8005 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.01438, allocations: 0.5 MB / 0.801 GB, free: 14 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.01442, allocations: 35.91 kB / 0.801 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.01452, allocations: 170.9 kB / 0.8012 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.0147, allocations: 223.7 kB / 0.8014 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.01471, allocations: 4 kB / 0.8014 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002429/0.01495, allocations: 212.5 kB / 0.8016 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.01497, allocations: 9.281 kB / 0.8016 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01498, allocations: 4 kB / 0.8016 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.01499, allocations: 4 kB / 0.8016 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.01511, allocations: 60.81 kB / 0.8017 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.01512, allocations: 7.938 kB / 0.8017 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.01518, allocations: 23.84 kB / 0.8017 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.0152, allocations: 17.33 kB / 0.8017 GB, free: 13.11 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.23e-05/0.01528, allocations: 180.4 kB / 0.8019 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.01531, allocations: 20.38 kB / 0.8019 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.01551, allocations: 141.1 kB / 0.802 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.098e-06/0.01552, allocations: 4 kB / 0.802 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01553, allocations: 0 / 0.802 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01553, allocations: 0 / 0.802 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.01568, allocations: 168.5 kB / 0.8022 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01568, allocations: 0 / 0.8022 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.01574, allocations: 31.92 kB / 0.8022 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01574, allocations: 4 kB / 0.8022 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01575, allocations: 7.984 kB / 0.8023 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01575, allocations: 0 / 0.8023 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01576, allocations: 0 / 0.8023 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.01593, allocations: 271.7 kB / 0.8025 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.01598, allocations: 31.81 kB / 0.8025 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.016, allocations: 8 kB / 0.8025 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.01609, allocations: 7.984 kB / 0.8026 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.01611, allocations: 11.98 kB / 0.8026 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.01613, allocations: 11.98 kB / 0.8026 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.01618, allocations: 151.2 kB / 0.8027 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01618, allocations: 0 / 0.8027 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000296/0.01648, allocations: 79.86 kB / 0.8028 GB, free: 11.94 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002838/0.01676, allocations: 187 kB / 0.803 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.01697, allocations: 115.4 kB / 0.8031 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.01697, allocations: 0 / 0.8031 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.01701, allocations: 45.72 kB / 0.8031 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.0173, allocations: 44.84 kB / 0.8032 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008631/0.01816, allocations: 323.1 kB / 0.8035 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.402e-05/0.01821, allocations: 68 kB / 0.8035 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.01832, allocations: 45.39 kB / 0.8036 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.01836, allocations: 24.5 kB / 0.8036 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of SimCode: time 8.82e-07/0.01836, allocations: 0 / 0.8036 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of Templates: time 0.00525/0.02361, allocations: 3.465 MB / 0.807 GB, free: 7.645 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.958716820925474]