Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.64/1.64, allocations: 249.5 MB / 257 MB, free: 6.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 195.5 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008736/0.0008737, allocations: 72.28 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.912e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2507, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8527/1.103, allocations: 135 MB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/1.104, allocations: 92.61 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009404/1.113, allocations: 3.268 MB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/1.113, allocations: 0 / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.705e-05/1.113, allocations: 4 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006896/1.114, allocations: 490.8 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.114, allocations: 8.031 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/1.114, allocations: 31.67 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/1.115, allocations: 237.3 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/1.115, allocations: 4 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/1.115, allocations: 12 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000238/1.115, allocations: 113.4 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/1.115, allocations: 187.1 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.115, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/1.115, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.115, allocations: 8 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/1.116, allocations: 0.5512 MB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/1.116, allocations: 108.1 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/1.116, allocations: 39.3 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/1.117, allocations: 11.92 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/1.117, allocations: 34.52 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/1.117, allocations: 4 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003057/1.117, allocations: 109.7 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/1.117, allocations: 132.5 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/1.117, allocations: 154.1 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/1.117, allocations: 33.58 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.79e-05/1.117, allocations: 145 kB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/1.117, allocations: 33.97 kB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/1.117, allocations: 0 / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.117, allocations: 329.6 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/1.118, allocations: 33.12 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.584e-05/1.118, allocations: 66.92 kB / 1.023 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/1.118, allocations: 34.56 kB / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.118, allocations: 0 / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002014/1.118, allocations: 123.6 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.118, allocations: 4 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.118, allocations: 0 / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.118, allocations: 11.95 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/1.118, allocations: 16.08 kB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.118, allocations: 3.938 kB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/1.118, allocations: 31.97 kB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/1.118, allocations: 4 kB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.237e-05/1.118, allocations: 112.2 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/1.118, allocations: 15.81 kB / 1.023 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/1.119, allocations: 122.7 kB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.119, allocations: 7.953 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.119, allocations: 0 / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.119, allocations: 3.984 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/1.119, allocations: 227.7 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.119, allocations: 7.984 kB / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.637e-05/1.119, allocations: 12 kB / 1.024 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.119, allocations: 0 / 1.024 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/1.119, allocations: 7.984 kB / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.119, allocations: 0 / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.119, allocations: 0 / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/1.119, allocations: 206 kB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/1.119, allocations: 92.45 kB / 1.024 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/1.119, allocations: 7.984 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/1.12, allocations: 27.98 kB / 1.024 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/1.12, allocations: 31.38 kB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/1.12, allocations: 3.938 kB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.153e-05/1.12, allocations: 133.7 kB / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.12, allocations: 0 / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002496/1.12, allocations: 39.8 kB / 1.024 GB, free: 12.15 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001788/1.12, allocations: 111.4 kB / 1.024 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000184/1.12, allocations: 85.81 kB / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.12, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/1.121, allocations: 45.86 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/1.121, allocations: 15.19 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/1.121, allocations: 198.5 kB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/1.122, allocations: 0.7395 MB / 1.025 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.204e-05/1.122, allocations: 17.2 kB / 1.025 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/1.122, allocations: 15.44 kB / 1.025 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.122, allocations: 0 / 1.025 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.004943/1.127, allocations: 1.634 MB / 1.027 GB, free: 9.371 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches