Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.EthyleneGlycolWater,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_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,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_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00914/0.00914, allocations: 99.06 kB / 15.73 MB, free: 6.059 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.001966/0.001967, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.649/2.649, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3341, allocations: 151.6 MB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002557/0.3368, allocations: 1.381 MB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003708/0.3405, allocations: 2.925 MB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.3405, allocations: 0 / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.387e-05/0.3406, allocations: 3.938 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.3408, allocations: 47.8 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.3414, allocations: 179.1 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.3417, allocations: 247.5 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.3417, allocations: 4 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.775e-05/0.3418, allocations: 87.84 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.342, allocations: 123.7 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.342, allocations: 12 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.3424, allocations: 131.9 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.3425, allocations: 95.75 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3426, allocations: 87.62 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.343, allocations: 279 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.343, allocations: 0 / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.532e-06/0.343, allocations: 0 / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.343, allocations: 4 kB / 1.172 GB, free: 1.141 MB / 0.92 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.0008607/0.3439, allocations: 0.5258 MB / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3439, allocations: 11.97 kB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.3441, allocations: 24.8 kB / 1.173 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.3444, allocations: 244.1 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.3444, allocations: 24.36 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.3444, allocations: 12.38 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.3451, allocations: 293.2 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3451, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.3451, allocations: 11.94 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.3452, allocations: 8 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.3466, allocations: 0.7452 MB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.347, allocations: 309.1 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.3486, allocations: 0.6752 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.349, allocations: 228.7 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/0.3495, allocations: 392.3 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.3495, allocations: 46.42 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.833e-06/0.3495, allocations: 4 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001586/0.3511, allocations: 0.646 MB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.3512, allocations: 55.41 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.3513, allocations: 126.1 kB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.3513, allocations: 29.7 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.3514, allocations: 96.8 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3515, allocations: 130.8 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3516, allocations: 61.69 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3518, allocations: 330.8 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/0.3522, allocations: 195.8 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.3527, allocations: 205 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008328/0.3535, allocations: 364.7 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3535, allocations: 4 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001024/0.3546, allocations: 468.4 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3546, allocations: 4 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3546, allocations: 0 / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3546, allocations: 4 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.355, allocations: 103.8 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.355, allocations: 0 / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3552, allocations: 47.81 kB / 1.178 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.3552, allocations: 19.92 kB / 1.178 GB, free: 10.47 MB / 0.9356 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.000131/0.3554, allocations: 141.8 kB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.3554, allocations: 23.84 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.3566, allocations: 0.51 MB / 1.179 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3566, allocations: 4 kB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3566, allocations: 0 / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3566, allocations: 4 kB / 1.179 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.3569, allocations: 313.3 kB / 1.179 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3569, allocations: 0 / 1.179 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.3573, allocations: 103.8 kB / 1.179 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.3573, allocations: 0 / 1.179 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.3573, allocations: 11.98 kB / 1.179 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.3573, allocations: 11.94 kB / 1.179 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3573, allocations: 0 / 1.179 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3584, allocations: 0.4926 MB / 1.18 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.3584, allocations: 100.9 kB / 1.18 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.3585, allocations: 4 kB / 1.18 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.3586, allocations: 39.95 kB / 1.18 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.3589, allocations: 119.8 kB / 1.18 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.3589, allocations: 11.98 kB / 1.18 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.359, allocations: 103.2 kB / 1.18 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.359, allocations: 0 / 1.18 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003892/0.3594, allocations: 119.7 kB / 1.18 GB, free: 8.277 MB / 0.9356 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.0003391/0.3597, allocations: 187 kB / 1.18 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.3608, allocations: 479.1 kB / 1.181 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3608, allocations: 0 / 1.181 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005328/0.3614, allocations: 255.7 kB / 1.181 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3618, allocations: 79.94 kB / 1.181 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.3626, allocations: 428.1 kB / 1.182 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.3629, allocations: 0.7328 MB / 1.182 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003837/0.3633, allocations: 187.9 kB / 1.183 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.3634, allocations: 47.41 kB / 1.183 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.3634, allocations: 0 / 1.183 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of Templates: time 0.009643/0.3731, allocations: 5.305 MB / 1.188 GB, free: 0.625 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches