Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="mat",numberOfIntervals=200,variableFilter="time|ySet|yOut|antFre.sigBus.TConInMea|antFre.sigBus.TEvaOutMea|antFre.TAntFre",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="mat",numberOfIntervals=200,variableFilter="time|ySet|yOut|antFre.sigBus.TConInMea|antFre.sigBus.TEvaOutMea|antFre.TAntFre",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001768, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002154/0.002155, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 469.8 MB / 0.7421 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 70.36 kB / 0.9081 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3018, allocations: 159.2 MB / 1.063 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004225/0.3061, allocations: 2.141 MB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3073, allocations: 0.5455 MB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3074, allocations: 4 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.3076, allocations: 15.86 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.369e-05/0.3077, allocations: 35.66 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.3079, allocations: 79.91 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.3083, allocations: 263.4 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.3085, allocations: 118.8 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.3087, allocations: 107.7 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.3089, allocations: 123.4 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.3089, allocations: 32 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.884e-05/0.309, allocations: 24 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.309, allocations: 55.81 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.3092, allocations: 111.5 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.3095, allocations: 271.3 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3095, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3095, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.3095, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001252/0.3108, allocations: 0.6449 MB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3108, allocations: 8.031 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.3109, allocations: 28.66 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.3112, allocations: 244.5 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3113, allocations: 16.75 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.3113, allocations: 20.38 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.312, allocations: 278.2 kB / 1.068 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.312, allocations: 0 / 1.068 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.312, allocations: 7.984 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.312, allocations: 8 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/0.3127, allocations: 195.8 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.3139, allocations: 0.6168 MB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.3147, allocations: 222.5 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.315, allocations: 92.72 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.315, allocations: 0 / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005474/0.3156, allocations: 183.2 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.3156, allocations: 0 / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001065/0.3167, allocations: 334.6 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.3168, allocations: 114.7 kB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.317, allocations: 204.2 kB / 1.07 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.317, allocations: 37.7 kB / 1.07 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3172, allocations: 156.2 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.3172, allocations: 47.45 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3173, allocations: 65.59 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3175, allocations: 326.8 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.3179, allocations: 112.2 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.3183, allocations: 183.2 kB / 1.071 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/0.319, allocations: 305.1 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.319, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009252/0.3199, allocations: 415.9 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.094e-05/0.32, allocations: 93.09 kB / 1.072 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.32, allocations: 3.938 kB / 1.072 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3201, allocations: 7.938 kB / 1.072 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.3203, allocations: 48.11 kB / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3203, allocations: 7.938 kB / 1.072 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.3206, allocations: 59.69 kB / 1.072 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.3207, allocations: 8 kB / 1.072 GB, free: 5.262 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * 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.0001625/0.3208, allocations: 148.1 kB / 1.072 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.3209, allocations: 19.75 kB / 1.072 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/0.3216, allocations: 256.8 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.3217, allocations: 11.94 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3217, allocations: 0 / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3217, allocations: 3.984 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.3227, allocations: 0.5818 MB / 1.073 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3227, allocations: 0 / 1.073 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3229, allocations: 35.91 kB / 1.073 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3229, allocations: 0 / 1.073 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3229, allocations: 7.984 kB / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3229, allocations: 4 kB / 1.073 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3229, allocations: 0 / 1.073 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007644/0.3237, allocations: 339.1 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.3238, allocations: 104.6 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.3238, allocations: 8 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.3241, allocations: 43.94 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.3243, allocations: 43.94 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.3243, allocations: 4 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001372/0.3244, allocations: 152 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3244, allocations: 0 / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003028/0.3247, allocations: 55.84 kB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.000153/0.3249, allocations: 115.2 kB / 1.074 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009245/0.3258, allocations: 429.5 kB / 1.074 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3258, allocations: 0 / 1.074 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.3262, allocations: 119.8 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3266, allocations: 37.97 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.3274, allocations: 436.3 kB / 1.075 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.3278, allocations: 0.7396 MB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.3279, allocations: 25.53 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.328, allocations: 23.44 kB / 1.076 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.328, allocations: 3.938 kB / 1.076 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of Templates: time 0.006467/0.3345, allocations: 2.942 MB / 1.079 GB, free: 14.45 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches