Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.0008425/0.0008425, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001049/0.001049, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9482/0.9482, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.948/1.948, allocations: 377.8 MB / 0.6239 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.PropyleneGlycolWaterProperties,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_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,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_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.421e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005964/0.005998, allocations: 4.56 MB / 0.816 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.008475, allocations: 2.797 MB / 0.8187 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.008621, allocations: 4.844 kB / 0.8187 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.008969, allocations: 47.67 kB / 0.8188 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.009259, allocations: 97.47 kB / 0.8189 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.01057, allocations: 0.5254 MB / 0.8194 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.01087, allocations: 245.7 kB / 0.8196 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.01092, allocations: 9.812 kB / 0.8196 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009901/0.01191, allocations: 0.5153 MB / 0.8201 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.01205, allocations: 75.78 kB / 0.8202 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.01207, allocations: 4.719 kB / 0.8202 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009733/0.01305, allocations: 0.4894 MB / 0.8207 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.01314, allocations: 35.89 kB / 0.8207 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.01323, allocations: 63.83 kB / 0.8208 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.01378, allocations: 346.9 kB / 0.8211 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01378, allocations: 0 / 0.8211 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.553e-06/0.01379, allocations: 4 kB / 0.8211 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.01379, allocations: 4 kB / 0.8211 GB, free: 8.297 MB / 0.7761 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.0007409/0.01453, allocations: 0.5349 MB / 0.8216 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.01458, allocations: 8.031 kB / 0.8216 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.01477, allocations: 40.72 kB / 0.8217 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.01499, allocations: 160.4 kB / 0.8218 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.01501, allocations: 8.703 kB / 0.8218 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.01503, allocations: 20.38 kB / 0.8219 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.01538, allocations: 420 kB / 0.8223 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.01539, allocations: 192 / 0.8223 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.01541, allocations: 20.12 kB / 0.8223 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/0.01546, allocations: 4 kB / 0.8223 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.01573, allocations: 291.5 kB / 0.8226 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01691, allocations: 1.099 MB / 0.8236 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.01716, allocations: 134.5 kB / 0.8238 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.01723, allocations: 43.67 kB / 0.8238 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/0.01781, allocations: 0.531 MB / 0.8243 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.01784, allocations: 37.39 kB / 0.8244 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.01784, allocations: 0 / 0.8244 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0002866/0.01813, allocations: 137.4 kB / 0.8245 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.01817, allocations: 51.41 kB / 0.8245 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.01829, allocations: 217.8 kB / 0.8247 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.01831, allocations: 33.69 kB / 0.8248 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.01839, allocations: 190.8 kB / 0.825 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.01843, allocations: 55.53 kB / 0.825 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.01848, allocations: 55.36 kB / 0.8251 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.01862, allocations: 0.4961 MB / 0.8256 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.01866, allocations: 31.97 kB / 0.8256 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.01878, allocations: 182.9 kB / 0.8258 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.01895, allocations: 224.4 kB / 0.826 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01895, allocations: 0 / 0.826 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002257/0.01918, allocations: 209.3 kB / 0.8262 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.0192, allocations: 8 kB / 0.8262 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.0192, allocations: 4 kB / 0.8262 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.01922, allocations: 4 kB / 0.8262 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.01935, allocations: 59.91 kB / 0.8262 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.01936, allocations: 8 kB / 0.8262 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.01942, allocations: 27.78 kB / 0.8263 GB, free: 2.551 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.01944, allocations: 20.34 kB / 0.8263 GB, free: 2.531 MB / 0.7761 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 9.319e-05/0.01953, allocations: 184.4 kB / 0.8265 GB, free: 2.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.01957, allocations: 15.91 kB / 0.8265 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.0198, allocations: 140.9 kB / 0.8266 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.01981, allocations: 4 kB / 0.8266 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01982, allocations: 0 / 0.8266 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01982, allocations: 0 / 0.8266 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.01998, allocations: 168.4 kB / 0.8268 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01999, allocations: 4 kB / 0.8268 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.02006, allocations: 31.92 kB / 0.8268 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.02006, allocations: 8 kB / 0.8268 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.02007, allocations: 3.984 kB / 0.8268 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.02007, allocations: 0 / 0.8268 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02007, allocations: 0 / 0.8268 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.02028, allocations: 263.8 kB / 0.8271 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.02033, allocations: 27.88 kB / 0.8271 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.02035, allocations: 0 / 0.8271 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.02044, allocations: 19.92 kB / 0.8271 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.02046, allocations: 7.984 kB / 0.8271 GB, free: 1.602 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.02048, allocations: 15.98 kB / 0.8272 GB, free: 1.586 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.02054, allocations: 146.2 kB / 0.8273 GB, free: 1.445 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.02054, allocations: 4 kB / 0.8273 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002975/0.02084, allocations: 83.8 kB / 0.8274 GB, free: 1.359 MB / 0.7761 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.000326/0.02116, allocations: 187 kB / 0.8276 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.02137, allocations: 104.3 kB / 0.8277 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02137, allocations: 8.062 kB / 0.8277 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.02141, allocations: 53.84 kB / 0.8277 GB, free: 1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.0217, allocations: 51.7 kB / 0.8278 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.02256, allocations: 315.1 kB / 0.8281 GB, free: 0.6133 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.939e-05/0.02261, allocations: 68 kB / 0.8281 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000115/0.02273, allocations: 49.27 kB / 0.8282 GB, free: 488 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.02276, allocations: 20.5 kB / 0.8282 GB, free: 468 kB / 0.7761 GB Notification: Performance of SimCode: time 1.333e-06/0.02276, allocations: 0 / 0.8282 GB, free: 468 kB / 0.7761 GB Notification: Performance of Templates: time 0.005258/0.02802, allocations: 3.078 MB / 0.8312 GB, free: 13.46 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.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: 5.320431858068332]