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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001471/0.001471, allocations: 112.6 kB / 16.37 MB, free: 6 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.001568/0.001568, allocations: 196 kB / 17.31 MB, free: 5.613 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002492, allocations: 58.92 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.33, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002771/0.3328, allocations: 1.384 MB / 0.9525 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004385/0.3372, allocations: 2.923 MB / 0.9553 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.3373, allocations: 0 / 0.9553 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.3374, allocations: 7.922 kB / 0.9553 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3376, allocations: 35.81 kB / 0.9554 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.3382, allocations: 195.1 kB / 0.9556 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.3385, allocations: 239.5 kB / 0.9558 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.3385, allocations: 4 kB / 0.9558 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3386, allocations: 99.83 kB / 0.9559 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.3388, allocations: 123.7 kB / 0.956 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.3388, allocations: 8 kB / 0.956 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.3394, allocations: 135.9 kB / 0.9561 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3395, allocations: 91.81 kB / 0.9562 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.3397, allocations: 95.52 kB / 0.9563 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.34, allocations: 271.3 kB / 0.9566 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3401, allocations: 0 / 0.9566 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3401, allocations: 0 / 0.9566 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3401, allocations: 0 / 0.9566 GB, free: 2.477 MB / 0.7325 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.0008741/0.3409, allocations: 0.5301 MB / 0.9571 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.341, allocations: 8.031 kB / 0.9571 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.3411, allocations: 20.73 kB / 0.9571 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.3415, allocations: 240 kB / 0.9573 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.3416, allocations: 24.36 kB / 0.9574 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.3416, allocations: 12.38 kB / 0.9574 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.3422, allocations: 297 kB / 0.9577 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3423, allocations: 3.938 kB / 0.9577 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.3423, allocations: 8 kB / 0.9577 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3423, allocations: 0 / 0.9577 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.3439, allocations: 0.7491 MB / 0.9584 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.3443, allocations: 309 kB / 0.9587 GB, free: 156 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.3458, allocations: 0.6793 MB / 0.9594 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.3463, allocations: 228.7 kB / 0.9596 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000436/0.3467, allocations: 388.4 kB / 0.96 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3468, allocations: 42.5 kB / 0.96 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 2.885e-06/0.3468, allocations: 0 / 0.96 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.00156/0.3484, allocations: 0.6506 MB / 0.9606 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3484, allocations: 59.41 kB / 0.9607 GB, free: 14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3485, allocations: 125.5 kB / 0.9608 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3486, allocations: 33.7 kB / 0.9608 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.3486, allocations: 92.72 kB / 0.9609 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.3488, allocations: 126.1 kB / 0.961 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3489, allocations: 69.67 kB / 0.9611 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.349, allocations: 326.8 kB / 0.9614 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/0.3494, allocations: 195.8 kB / 0.9616 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.3499, allocations: 199.9 kB / 0.9618 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/0.3507, allocations: 364.2 kB / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3507, allocations: 0 / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001083/0.3518, allocations: 469 kB / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3518, allocations: 11.98 kB / 0.9626 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3518, allocations: 0 / 0.9626 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3519, allocations: 4 kB / 0.9626 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.3522, allocations: 95.86 kB / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3522, allocations: 0 / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3524, allocations: 55.64 kB / 0.9628 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.3524, allocations: 15.98 kB / 0.9628 GB, free: 11.82 MB / 0.7481 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.0001227/0.3526, allocations: 137.8 kB / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.3526, allocations: 19.75 kB / 0.9629 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.3538, allocations: 0.5102 MB / 0.9634 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3538, allocations: 4 kB / 0.9634 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3538, allocations: 0 / 0.9634 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3538, allocations: 3.984 kB / 0.9634 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.3541, allocations: 313.3 kB / 0.9637 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3541, allocations: 4 kB / 0.9637 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.3546, allocations: 111.8 kB / 0.9638 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3546, allocations: 0 / 0.9638 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.3546, allocations: 8 kB / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3546, allocations: 0 / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3546, allocations: 0 / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3556, allocations: 0.4926 MB / 0.9643 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.3557, allocations: 96.8 kB / 0.9644 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.3557, allocations: 11.98 kB / 0.9644 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3559, allocations: 35.97 kB / 0.9645 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.3561, allocations: 123.8 kB / 0.9646 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.3561, allocations: 8 kB / 0.9646 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.661e-05/0.3562, allocations: 99.25 kB / 0.9647 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3562, allocations: 3.938 kB / 0.9647 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003605/0.3566, allocations: 111.9 kB / 0.9648 GB, free: 9.652 MB / 0.7481 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.0003096/0.3569, allocations: 193.2 kB / 0.965 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009871/0.3579, allocations: 467.3 kB / 0.9654 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3579, allocations: 3.938 kB / 0.9654 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.3584, allocations: 260.7 kB / 0.9657 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3588, allocations: 81.81 kB / 0.9658 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/0.3595, allocations: 426.2 kB / 0.9662 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.3599, allocations: 0.7328 MB / 0.9669 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003652/0.3603, allocations: 188.9 kB / 0.9671 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/0.3604, allocations: 35.42 kB / 0.9671 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.3604, allocations: 3.938 kB / 0.9671 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of Templates: time 0.009103/0.3695, allocations: 5.273 MB / 0.9722 GB, free: 2.039 MB / 0.7481 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 -s cvode -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