Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.402/2.402, allocations: 390.5 MB / 398 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 184.8 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009039/0.0009038, allocations: 91.52 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.44e-05/1.442e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2425, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8891/1.132, allocations: 152.3 MB / 1.361 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/1.132, allocations: 85.33 kB / 1.361 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01116/1.143, allocations: 3.321 MB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.733e-06/1.143, allocations: 0 / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.128e-05/1.143, allocations: 3.938 kB / 1.364 GB, free: 32.93 MB / 0.8386 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.0007636/1.144, allocations: 480.4 kB / 1.365 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.144, allocations: 7.469 kB / 1.365 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.628e-05/1.144, allocations: 31.58 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/1.144, allocations: 228 kB / 1.365 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.145, allocations: 7.656 kB / 1.365 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/1.145, allocations: 11.72 kB / 1.365 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002306/1.145, allocations: 105.1 kB / 1.365 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/1.145, allocations: 182.3 kB / 1.365 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.145, allocations: 3.609 kB / 1.365 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/1.145, allocations: 0 / 1.365 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.145, allocations: 7.797 kB / 1.365 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/1.146, allocations: 0.5644 MB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/1.146, allocations: 106.5 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/1.146, allocations: 49.2 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/1.146, allocations: 0 / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/1.146, allocations: 38.09 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/1.146, allocations: 0 / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002545/1.147, allocations: 111.6 kB / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/1.147, allocations: 131.2 kB / 1.366 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/1.147, allocations: 159.1 kB / 1.367 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/1.147, allocations: 33.55 kB / 1.367 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/1.147, allocations: 153 kB / 1.367 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/1.147, allocations: 25.7 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/1.147, allocations: 0 / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.147, allocations: 326.6 kB / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/1.147, allocations: 28.88 kB / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/1.147, allocations: 71.84 kB / 1.367 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.928e-05/1.147, allocations: 38.17 kB / 1.367 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.147, allocations: 0 / 1.367 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001907/1.148, allocations: 122 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.148, allocations: 7.797 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.148, allocations: 0 / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.148, allocations: 0 / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/1.148, allocations: 20.88 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.148, allocations: 0 / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/1.148, allocations: 36.61 kB / 1.367 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/1.148, allocations: 10.02 kB / 1.367 GB, free: 31.01 MB / 0.8386 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 8.241e-05/1.148, allocations: 104.9 kB / 1.367 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/1.148, allocations: 15.59 kB / 1.367 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/1.148, allocations: 127.1 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.148, allocations: 0 / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.148, allocations: 0 / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/1.148, allocations: 0 / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/1.149, allocations: 236.8 kB / 1.368 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.149, allocations: 0 / 1.368 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/1.149, allocations: 21.83 kB / 1.368 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.149, allocations: 0 / 1.368 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.149, allocations: 6.781 kB / 1.368 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.149, allocations: 0 / 1.368 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.149, allocations: 8.141 kB / 1.368 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/1.149, allocations: 211.1 kB / 1.368 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/1.149, allocations: 88.73 kB / 1.368 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/1.149, allocations: 5.453 kB / 1.368 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/1.149, allocations: 33 kB / 1.368 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/1.149, allocations: 26.09 kB / 1.368 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/1.149, allocations: 7.828 kB / 1.368 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.728e-05/1.149, allocations: 129.4 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.149, allocations: 0 / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002409/1.15, allocations: 31 kB / 1.368 GB, free: 30.34 MB / 0.8386 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.0001426/1.15, allocations: 107.6 kB / 1.368 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001633/1.15, allocations: 94.66 kB / 1.369 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.15, allocations: 0 / 1.369 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/1.15, allocations: 44.3 kB / 1.369 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/1.15, allocations: 12.09 kB / 1.369 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/1.151, allocations: 196.6 kB / 1.369 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/1.151, allocations: 0.739 MB / 1.37 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.593e-05/1.151, allocations: 15.17 kB / 1.37 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/1.151, allocations: 17.59 kB / 1.37 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.151, allocations: 0 / 1.37 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of Templates: time 0.003697/1.155, allocations: 1.636 MB / 1.371 GB, free: 29.32 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches