Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.002461/0.002461, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002991/0.002991, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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 1.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.017/3.017, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] 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.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.555e-05/3.755e-05, allocations: 6.812 kB / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.003641/0.003678, allocations: 1.422 MB / 0.8122 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005283/0.008962, allocations: 2.966 MB / 0.8151 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.009013, allocations: 4.812 kB / 0.8151 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.009117, allocations: 7.984 kB / 0.8151 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.00927, allocations: 45.91 kB / 0.8151 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008753/0.01014, allocations: 190.9 kB / 0.8153 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.01056, allocations: 251.4 kB / 0.8155 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.0106, allocations: 4.531 kB / 0.8155 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.01084, allocations: 116.5 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.01105, allocations: 119.8 kB / 0.8158 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.0111, allocations: 12.5 kB / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000571/0.01168, allocations: 152.4 kB / 0.8159 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.01183, allocations: 95.83 kB / 0.816 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.01197, allocations: 72.77 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006391/0.01261, allocations: 307.1 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.01261, allocations: 0 / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.783e-06/0.01261, allocations: 1.219 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.01262, allocations: 0 / 0.8164 GB, free: 12.43 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001198/0.01382, allocations: 0.5724 MB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.01386, allocations: 8.031 kB / 0.8169 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.01407, allocations: 28.84 kB / 0.817 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.01442, allocations: 184.3 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.01447, allocations: 23.67 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.01452, allocations: 20.36 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.01522, allocations: 235.6 kB / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.01523, allocations: 192 / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.01526, allocations: 8.125 kB / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.01527, allocations: 5.031 kB / 0.8174 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.01687, allocations: 0.6437 MB / 0.8181 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.01724, allocations: 196.5 kB / 0.8182 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.0191, allocations: 0.5668 MB / 0.8188 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.01963, allocations: 172.1 kB / 0.819 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/0.01996, allocations: 79.89 kB / 0.819 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.02001, allocations: 42.33 kB / 0.8191 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.353e-06/0.02001, allocations: 0 / 0.8191 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.001778/0.02178, allocations: 0.5228 MB / 0.8196 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.02184, allocations: 59.34 kB / 0.8196 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.02201, allocations: 189.9 kB / 0.8198 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.02204, allocations: 33.64 kB / 0.8199 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.02214, allocations: 139.5 kB / 0.82 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.0223, allocations: 130.9 kB / 0.8201 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.02245, allocations: 71.33 kB / 0.8202 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002942/0.02275, allocations: 0.504 MB / 0.8207 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.02324, allocations: 139.9 kB / 0.8208 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.02374, allocations: 144.9 kB / 0.821 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/0.02468, allocations: 275.5 kB / 0.8212 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02468, allocations: 0 / 0.8212 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001155/0.02584, allocations: 369.1 kB / 0.8216 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.02586, allocations: 4 kB / 0.8216 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.02586, allocations: 0 / 0.8216 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.02588, allocations: 4 kB / 0.8216 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.02631, allocations: 103.8 kB / 0.8217 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.02632, allocations: 4 kB / 0.8217 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.02656, allocations: 47.86 kB / 0.8217 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.0266, allocations: 15.98 kB / 0.8217 GB, free: 6.75 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * Array equations: 0 * 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 0.0001641/0.02676, allocations: 168.5 kB / 0.8219 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.02683, allocations: 27.91 kB / 0.8219 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.02817, allocations: 440.4 kB / 0.8223 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.02818, allocations: 4 kB / 0.8223 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.02818, allocations: 3.938 kB / 0.8224 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.02819, allocations: 11.97 kB / 0.8224 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.02853, allocations: 204.4 kB / 0.8226 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02854, allocations: 3.938 kB / 0.8226 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.02894, allocations: 99.91 kB / 0.8227 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.02894, allocations: 4 kB / 0.8227 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.02897, allocations: 11.98 kB / 0.8227 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.02898, allocations: 3.938 kB / 0.8227 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.02898, allocations: 3.984 kB / 0.8227 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.03026, allocations: 440 kB / 0.8231 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.0303, allocations: 15.84 kB / 0.8231 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.03034, allocations: 8 kB / 0.8231 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.03055, allocations: 47.95 kB / 0.8232 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.03086, allocations: 139.7 kB / 0.8233 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.03089, allocations: 8 kB / 0.8233 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001043/0.03099, allocations: 147.1 kB / 0.8234 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03099, allocations: 0 / 0.8234 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004258/0.03142, allocations: 119.7 kB / 0.8236 GB, free: 4.809 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 (37): * Single equations (assignments): 37 * Array equations: 0 * 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.0004322/0.03185, allocations: 190.9 kB / 0.8237 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.03301, allocations: 374.9 kB / 0.8241 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.03301, allocations: 0 / 0.8241 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.03361, allocations: 219.4 kB / 0.8243 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.03407, allocations: 90.33 kB / 0.8244 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009779/0.03504, allocations: 367.3 kB / 0.8247 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.03519, allocations: 110.6 kB / 0.8249 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004304/0.03562, allocations: 163.8 kB / 0.825 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.03574, allocations: 40.48 kB / 0.825 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.03574, allocations: 0 / 0.825 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of Templates: time 0.01247/0.0482, allocations: 5.502 MB / 0.8304 GB, free: 13.86 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.419969693990424]