Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 111.9 kB / 15.99 MB, free: 6.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 198.4 kB / 16.91 MB, free: 6.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.2 MB / 0.665 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.89 kB / 0.8127 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6725/0.6738, allocations: 140.4 MB / 0.9498 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002296/0.6762, allocations: 1.447 MB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002744/0.6789, allocations: 2.898 MB / 0.954 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.679, allocations: 0 / 0.954 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.698e-05/0.6791, allocations: 9.172 kB / 0.954 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.6792, allocations: 36.53 kB / 0.954 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.6798, allocations: 172.5 kB / 0.9542 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.68, allocations: 236.6 kB / 0.9544 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.68, allocations: 12.5 kB / 0.9544 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.6801, allocations: 89.61 kB / 0.9545 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.6803, allocations: 136.2 kB / 0.9547 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.6803, allocations: 10.66 kB / 0.9547 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.6807, allocations: 152.2 kB / 0.9548 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.6808, allocations: 93.12 kB / 0.9549 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.823e-05/0.6809, allocations: 82.84 kB / 0.955 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.6811, allocations: 192.9 kB / 0.9552 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6811, allocations: 1.125 kB / 0.9552 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6811, allocations: 0 / 0.9552 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.6811, allocations: 4 kB / 0.9552 GB, free: 4.969 MB / 0.7169 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.0006904/0.6818, allocations: 0.5285 MB / 0.9557 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.6819, allocations: 9.719 kB / 0.9557 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.682, allocations: 17.56 kB / 0.9557 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.6822, allocations: 245.4 kB / 0.956 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.6822, allocations: 28.39 kB / 0.956 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.6823, allocations: 13.75 kB / 0.956 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.6829, allocations: 285.4 kB / 0.9563 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6829, allocations: 1.344 kB / 0.9563 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.6829, allocations: 9.281 kB / 0.9563 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.6829, allocations: 2.875 kB / 0.9563 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.6843, allocations: 0.7501 MB / 0.957 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.6846, allocations: 305.8 kB / 0.9573 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.6861, allocations: 0.6788 MB / 0.958 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.6866, allocations: 227 kB / 0.9582 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/0.687, allocations: 389.9 kB / 0.9586 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.687, allocations: 44.72 kB / 0.9586 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.274e-06/0.687, allocations: 0 / 0.9586 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001582/0.6886, allocations: 0.6519 MB / 0.9592 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.6886, allocations: 56.06 kB / 0.9593 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.6887, allocations: 124.9 kB / 0.9594 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.6888, allocations: 30.89 kB / 0.9594 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.6888, allocations: 94.98 kB / 0.9595 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.382e-05/0.6889, allocations: 126.5 kB / 0.9596 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.689, allocations: 60.5 kB / 0.9597 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.6891, allocations: 331.9 kB / 0.96 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.6895, allocations: 190.9 kB / 0.9602 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.69, allocations: 203.3 kB / 0.9604 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/0.6908, allocations: 370 kB / 0.9607 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6908, allocations: 0 / 0.9607 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001057/0.6919, allocations: 468.5 kB / 0.9612 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.6919, allocations: 6.719 kB / 0.9612 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6919, allocations: 0 / 0.9612 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.692, allocations: 1.344 kB / 0.9612 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.6924, allocations: 104.6 kB / 0.9613 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.6924, allocations: 1.281 kB / 0.9613 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.6926, allocations: 54.42 kB / 0.9614 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.6927, allocations: 15.72 kB / 0.9614 GB, free: 0.9219 MB / 0.7169 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.0001248/0.6928, allocations: 143.7 kB / 0.9615 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.6928, allocations: 25.09 kB / 0.9615 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.694, allocations: 0.5084 MB / 0.962 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6941, allocations: 8.406 kB / 0.962 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6941, allocations: 0 / 0.962 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.6941, allocations: 1.375 kB / 0.962 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.6944, allocations: 312.4 kB / 0.9623 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.6944, allocations: 1.344 kB / 0.9623 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.6947, allocations: 100 kB / 0.9624 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.6948, allocations: 1.062 kB / 0.9624 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.6948, allocations: 24.3 kB / 0.9625 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6948, allocations: 1.094 kB / 0.9625 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6948, allocations: 0 / 0.9625 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.6959, allocations: 499.2 kB / 0.9629 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.696, allocations: 106.3 kB / 0.963 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.696, allocations: 5.406 kB / 0.963 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.6962, allocations: 36.14 kB / 0.9631 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.6964, allocations: 122.8 kB / 0.9632 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.6965, allocations: 12.73 kB / 0.9632 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.702e-05/0.6966, allocations: 102.5 kB / 0.9633 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6966, allocations: 1.156 kB / 0.9633 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004409/0.697, allocations: 120.1 kB / 0.9634 GB, free: 15.61 MB / 0.7325 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.0003819/0.6974, allocations: 189.7 kB / 0.9636 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.6987, allocations: 0.5524 MB / 0.9641 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6987, allocations: 0 / 0.9641 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/0.6993, allocations: 255.7 kB / 0.9644 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.6997, allocations: 76.61 kB / 0.9645 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008726/0.7006, allocations: 0.5147 MB / 0.965 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.701, allocations: 0.7337 MB / 0.9657 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.7011, allocations: 52.52 kB / 0.9657 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.7011, allocations: 0 / 0.9657 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.009051/0.7102, allocations: 4.724 MB / 0.9703 GB, free: 11.69 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches