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.001568/0.001568, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001839/0.001839, allocations: 198.5 kB / 16.26 MB, free: 6.625 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.434/2.434, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.726/0.7274, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.003588/0.731, allocations: 1.446 MB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0052/0.7363, allocations: 2.893 MB / 0.9533 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.116e-05/0.7364, allocations: 1.062 kB / 0.9533 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.7366, allocations: 3.938 kB / 0.9533 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.7368, allocations: 45.17 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.7379, allocations: 168.8 kB / 0.9535 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.7383, allocations: 241.3 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.934e-05/0.7383, allocations: 7.281 kB / 0.9538 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.7385, allocations: 86.89 kB / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.7387, allocations: 139.3 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.7388, allocations: 10.72 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006392/0.7395, allocations: 144 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.7396, allocations: 94 kB / 0.9542 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.7398, allocations: 86.42 kB / 0.9543 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006152/0.7404, allocations: 274.5 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.7404, allocations: 0 / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7404, allocations: 1.938 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.7405, allocations: 4 kB / 0.9546 GB, free: 4.875 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.001068/0.7415, allocations: 0.5276 MB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.7416, allocations: 10.16 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.7417, allocations: 17.5 kB / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.7421, allocations: 248.6 kB / 0.9553 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.776e-05/0.7421, allocations: 24.39 kB / 0.9554 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.7422, allocations: 13.62 kB / 0.9554 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.7429, allocations: 286.1 kB / 0.9557 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.7429, allocations: 3.938 kB / 0.9557 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.7429, allocations: 14.45 kB / 0.9557 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.743, allocations: 7.641 kB / 0.9557 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.7445, allocations: 0.7462 MB / 0.9564 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.7449, allocations: 305.9 kB / 0.9567 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.7465, allocations: 0.6785 MB / 0.9574 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.747, allocations: 227.2 kB / 0.9576 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.7475, allocations: 385.5 kB / 0.9579 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.7475, allocations: 48.52 kB / 0.958 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 3.106e-06/0.7475, allocations: 0 / 0.958 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001834/0.7494, allocations: 0.6484 MB / 0.9586 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.7494, allocations: 59.59 kB / 0.9587 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.7495, allocations: 124.9 kB / 0.9588 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.7496, allocations: 30.77 kB / 0.9588 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.7496, allocations: 91.02 kB / 0.9589 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.7497, allocations: 134.1 kB / 0.959 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.7499, allocations: 60.47 kB / 0.9591 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.75, allocations: 331.8 kB / 0.9594 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.7505, allocations: 187.4 kB / 0.9596 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.751, allocations: 203.2 kB / 0.9598 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/0.7519, allocations: 369.4 kB / 0.9601 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7519, allocations: 1.031 kB / 0.9601 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001132/0.7531, allocations: 467.8 kB / 0.9606 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.7531, allocations: 4.688 kB / 0.9606 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7531, allocations: 0 / 0.9606 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.7531, allocations: 2.25 kB / 0.9606 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.7536, allocations: 99.36 kB / 0.9607 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.7536, allocations: 6.391 kB / 0.9607 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.7538, allocations: 50.09 kB / 0.9608 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.7538, allocations: 12.7 kB / 0.9608 GB, free: 0.8281 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.0001336/0.754, allocations: 143.1 kB / 0.9609 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.754, allocations: 24.38 kB / 0.9609 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.7552, allocations: 0.5143 MB / 0.9614 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.7552, allocations: 4.188 kB / 0.9614 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.7552, allocations: 1.312 kB / 0.9614 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.7553, allocations: 0 / 0.9614 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.7556, allocations: 317.5 kB / 0.9617 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7556, allocations: 0 / 0.9617 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.7559, allocations: 104.3 kB / 0.9618 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.7559, allocations: 1.219 kB / 0.9618 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.756, allocations: 16.52 kB / 0.9618 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.756, allocations: 1.156 kB / 0.9618 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.756, allocations: 0 / 0.9618 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.7571, allocations: 0.4945 MB / 0.9623 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.7572, allocations: 102 kB / 0.9624 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.7573, allocations: 6.906 kB / 0.9624 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.7574, allocations: 34.92 kB / 0.9625 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.7577, allocations: 123.6 kB / 0.9626 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.7578, allocations: 12.33 kB / 0.9626 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.7579, allocations: 100.3 kB / 0.9627 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7579, allocations: 0 / 0.9627 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005137/0.7584, allocations: 117.3 kB / 0.9628 GB, free: 15.52 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.0004656/0.7589, allocations: 192.4 kB / 0.963 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.7603, allocations: 0.5561 MB / 0.9635 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7603, allocations: 0 / 0.9635 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.7609, allocations: 256.9 kB / 0.9638 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.7613, allocations: 78.28 kB / 0.9639 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/0.7623, allocations: 494 kB / 0.9643 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.7627, allocations: 0.7344 MB / 0.965 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004646/0.7631, allocations: 178.7 kB / 0.9652 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.7632, allocations: 43.78 kB / 0.9653 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7632, allocations: 0 / 0.9653 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.01056/0.7738, allocations: 5.055 MB / 0.9702 GB, free: 11.41 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches