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.0009969/0.0009969, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001137/0.001137, allocations: 161.4 kB / 24.17 MB, free: 328 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 1.014/1.014, allocations: 177.1 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.909/1.909, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.523e-06/1.523e-06, allocations: 0 / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.738e-05, allocations: 13.78 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004874/0.004891, allocations: 4.605 MB / 0.7646 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.00702, allocations: 2.852 MB / 0.7674 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.007089, allocations: 0 / 0.7674 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.007328, allocations: 43.69 kB / 0.7674 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.007546, allocations: 101 kB / 0.7675 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009867/0.008533, allocations: 0.5067 MB / 0.768 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.008807, allocations: 249.8 kB / 0.7682 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.008845, allocations: 18.39 kB / 0.7682 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007861/0.009631, allocations: 0.512 MB / 0.7687 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.009743, allocations: 75.83 kB / 0.7688 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.009764, allocations: 11.94 kB / 0.7688 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007197/0.01048, allocations: 495.8 kB / 0.7693 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.01055, allocations: 43.81 kB / 0.7693 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.0106, allocations: 51.91 kB / 0.7694 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.01106, allocations: 361.4 kB / 0.7697 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.01106, allocations: 0 / 0.7697 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01106, allocations: 0 / 0.7697 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.01107, allocations: 3.984 kB / 0.7697 GB, free: 12.73 MB / 0.7292 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.0005167/0.01159, allocations: 416 kB / 0.7701 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.01162, allocations: 8.031 kB / 0.7701 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.01175, allocations: 41.97 kB / 0.7702 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.0119, allocations: 153.5 kB / 0.7703 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.01192, allocations: 13.52 kB / 0.7703 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.01193, allocations: 16.38 kB / 0.7704 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.01218, allocations: 389.9 kB / 0.7707 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.01219, allocations: 5 kB / 0.7707 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.0122, allocations: 12.12 kB / 0.7707 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.01223, allocations: 9 kB / 0.7708 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.01244, allocations: 244 kB / 0.771 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.01305, allocations: 0.749 MB / 0.7717 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.01323, allocations: 162.7 kB / 0.7719 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.01328, allocations: 36.83 kB / 0.7719 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.01388, allocations: 467.2 kB / 0.7724 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.0139, allocations: 35.19 kB / 0.7724 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.0139, allocations: 0 / 0.7724 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001877/0.01409, allocations: 135.5 kB / 0.7725 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.01412, allocations: 59.39 kB / 0.7726 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.01422, allocations: 161.6 kB / 0.7727 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.01424, allocations: 29.64 kB / 0.7728 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.0143, allocations: 148 kB / 0.7729 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.01434, allocations: 61.05 kB / 0.773 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.0144, allocations: 57.62 kB / 0.773 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.01449, allocations: 322.8 kB / 0.7733 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.01452, allocations: 22.81 kB / 0.7733 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.053e-05/0.01461, allocations: 130.2 kB / 0.7735 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.01477, allocations: 181.8 kB / 0.7736 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01477, allocations: 1.25 kB / 0.7736 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002002/0.01497, allocations: 165.2 kB / 0.7738 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.01498, allocations: 4.781 kB / 0.7738 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.01499, allocations: 8 kB / 0.7738 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.01501, allocations: 8.938 kB / 0.7738 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.01519, allocations: 64.47 kB / 0.7739 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.0152, allocations: 8 kB / 0.7739 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.01529, allocations: 28.34 kB / 0.7739 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.0153, allocations: 12 kB / 0.7739 GB, free: 8.117 MB / 0.7292 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.689e-05/0.01539, allocations: 134.4 kB / 0.7741 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.01543, allocations: 15.98 kB / 0.7741 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.01561, allocations: 118.2 kB / 0.7742 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.01562, allocations: 0 / 0.7742 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01562, allocations: 1.062 kB / 0.7742 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.01562, allocations: 4 kB / 0.7742 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.01579, allocations: 105.8 kB / 0.7743 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.01579, allocations: 5 kB / 0.7743 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.01589, allocations: 31.97 kB / 0.7743 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01589, allocations: 1.125 kB / 0.7743 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.0159, allocations: 8 kB / 0.7743 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.0159, allocations: 0 / 0.7743 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0159, allocations: 0.7188 kB / 0.7743 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.01605, allocations: 226.2 kB / 0.7745 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.0161, allocations: 32.33 kB / 0.7746 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.01612, allocations: 5.656 kB / 0.7746 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.01623, allocations: 11.94 kB / 0.7746 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.01626, allocations: 11.97 kB / 0.7746 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.01628, allocations: 8 kB / 0.7746 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.01631, allocations: 33.31 kB / 0.7746 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01631, allocations: 0 / 0.7746 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003531/0.01666, allocations: 89.38 kB / 0.7747 GB, free: 7.25 MB / 0.7292 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.000249/0.01691, allocations: 157 kB / 0.7749 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.01707, allocations: 99.77 kB / 0.775 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.01708, allocations: 8 kB / 0.775 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-05/0.01712, allocations: 39.31 kB / 0.775 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.01739, allocations: 58.8 kB / 0.7751 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.01815, allocations: 331 kB / 0.7754 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.826e-05/0.0182, allocations: 72.61 kB / 0.7755 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.01833, allocations: 44.8 kB / 0.7755 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.01852, allocations: 117.3 kB / 0.7756 GB, free: 6.297 MB / 0.7292 GB Notification: Performance of SimCode: time 7.62e-07/0.01852, allocations: 0 / 0.7756 GB, free: 6.297 MB / 0.7292 GB Notification: Performance of Templates: time 0.006116/0.02463, allocations: 3.46 MB / 0.779 GB, free: 2.953 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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: 4.974540667142719]