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.001039/0.001039, 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.0009359/0.0009359, 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.9456/0.9456, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.913/1.913, allocations: 377.9 MB / 0.6236 GB, free: 8.508 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.513e-06/1.513e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.414e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005137/0.005161, allocations: 4.565 MB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002504/0.007665, allocations: 2.796 MB / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.007782, allocations: 0.625 kB / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.008107, allocations: 51.61 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.008394, allocations: 97.06 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.009553, allocations: 0.5262 MB / 0.8194 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.009849, allocations: 247.8 kB / 0.8196 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.009896, allocations: 11.03 kB / 0.8197 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.01099, allocations: 0.5117 MB / 0.8202 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.01116, allocations: 79.77 kB / 0.8202 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.01119, allocations: 9.281 kB / 0.8202 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.01229, allocations: 490.9 kB / 0.8207 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.01244, allocations: 39.83 kB / 0.8207 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.25e-05/0.01253, allocations: 63.89 kB / 0.8208 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008704/0.0134, allocations: 354.9 kB / 0.8211 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.01341, allocations: 0 / 0.8211 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.894e-06/0.01341, allocations: 0 / 0.8211 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.01342, allocations: 0 / 0.8211 GB, free: 7.902 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.00103/0.01445, allocations: 0.531 MB / 0.8217 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.0145, allocations: 12.03 kB / 0.8217 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.01469, allocations: 44.7 kB / 0.8217 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.01494, allocations: 152.4 kB / 0.8219 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.01496, allocations: 20.64 kB / 0.8219 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.01498, allocations: 16.38 kB / 0.8219 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.01533, allocations: 428 kB / 0.8223 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.01535, allocations: 4.172 kB / 0.8223 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.01537, allocations: 12.12 kB / 0.8223 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.01541, allocations: 4 kB / 0.8223 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.0157, allocations: 299.5 kB / 0.8226 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.01692, allocations: 1.092 MB / 0.8237 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.01715, allocations: 130.7 kB / 0.8238 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.01721, allocations: 51.7 kB / 0.8239 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.01773, allocations: 0.5231 MB / 0.8244 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.01776, allocations: 41.39 kB / 0.8244 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.764e-06/0.01776, allocations: 0 / 0.8244 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0002659/0.01802, allocations: 135.1 kB / 0.8245 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.01805, allocations: 51.41 kB / 0.8246 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.01817, allocations: 221.8 kB / 0.8248 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.01818, allocations: 29.7 kB / 0.8248 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.01826, allocations: 190.8 kB / 0.825 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.01828, allocations: 55.53 kB / 0.8251 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.01834, allocations: 51.36 kB / 0.8251 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.01845, allocations: 0.5 MB / 0.8256 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.0185, allocations: 31.97 kB / 0.8256 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.0186, allocations: 174.9 kB / 0.8258 GB, free: 2.766 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.01878, allocations: 225.3 kB / 0.826 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.01878, allocations: 8 kB / 0.826 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002334/0.01902, allocations: 209.1 kB / 0.8262 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.01904, allocations: 8 kB / 0.8262 GB, free: 2.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.01904, allocations: 4.469 kB / 0.8262 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.01906, allocations: 4 kB / 0.8262 GB, free: 2.246 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.01918, allocations: 63.91 kB / 0.8263 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.01919, allocations: 7.938 kB / 0.8263 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.01926, allocations: 31.78 kB / 0.8263 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.01927, allocations: 12 kB / 0.8263 GB, free: 2.133 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 8.64e-05/0.01936, allocations: 180.4 kB / 0.8265 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.01939, allocations: 19.91 kB / 0.8265 GB, free: 1.926 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.01962, allocations: 138.2 kB / 0.8267 GB, free: 1.785 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.01963, allocations: 4 kB / 0.8267 GB, free: 1.781 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01963, allocations: 0 / 0.8267 GB, free: 1.781 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01964, allocations: 4 kB / 0.8267 GB, free: 1.777 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.01978, allocations: 168.4 kB / 0.8268 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01978, allocations: 0 / 0.8268 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.01985, allocations: 31.92 kB / 0.8269 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01985, allocations: 3.938 kB / 0.8269 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01986, allocations: 8 kB / 0.8269 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.185e-06/0.01986, allocations: 3.984 kB / 0.8269 GB, free: 1.531 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01987, allocations: 0 / 0.8269 GB, free: 1.531 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.02004, allocations: 258.6 kB / 0.8271 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.02008, allocations: 35.8 kB / 0.8272 GB, free: 1.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.0201, allocations: 8 kB / 0.8272 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.02019, allocations: 11.98 kB / 0.8272 GB, free: 1.207 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.02022, allocations: 11.98 kB / 0.8272 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.02023, allocations: 8 kB / 0.8272 GB, free: 1.188 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.727e-05/0.0203, allocations: 149.2 kB / 0.8273 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0203, allocations: 3.938 kB / 0.8273 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003035/0.0206, allocations: 79.86 kB / 0.8274 GB, free: 0.9609 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.0002742/0.02088, allocations: 187 kB / 0.8276 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.02107, allocations: 107.5 kB / 0.8277 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.02107, allocations: 0 / 0.8277 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/0.02111, allocations: 51.59 kB / 0.8277 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.02138, allocations: 52.7 kB / 0.8278 GB, free: 0.5547 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007912/0.02217, allocations: 315.1 kB / 0.8281 GB, free: 224 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.459e-05/0.02221, allocations: 71.98 kB / 0.8282 GB, free: 132 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.02232, allocations: 49.2 kB / 0.8282 GB, free: 80 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.02235, allocations: 32.48 kB / 0.8282 GB, free: 48 kB / 0.7761 GB Notification: Performance of SimCode: time 6.82e-07/0.02235, allocations: 0 / 0.8282 GB, free: 48 kB / 0.7761 GB Notification: Performance of Templates: time 0.00573/0.02808, allocations: 3.516 MB / 0.8317 GB, free: 12.6 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.30723278503865]