Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002021/0.002021, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.2 MB / 0.6642 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6551/0.6573, allocations: 140.4 MB / 0.9489 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002777/0.6602, allocations: 2.089 MB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007806/0.661, allocations: 0.5484 MB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.661, allocations: 2.781 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.6612, allocations: 11.86 kB / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.6613, allocations: 36.25 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.6615, allocations: 72.72 kB / 0.9516 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.6617, allocations: 204.3 kB / 0.9518 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.6619, allocations: 110.7 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.662, allocations: 81.83 kB / 0.952 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.6621, allocations: 101.5 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.6622, allocations: 11.69 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.177e-05/0.6622, allocations: 26.2 kB / 0.9521 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.6623, allocations: 39.31 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.6624, allocations: 93.89 kB / 0.9523 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.6626, allocations: 257.5 kB / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6626, allocations: 0 / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6626, allocations: 3.984 kB / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.6626, allocations: 0 / 0.9525 GB, free: 6.242 MB / 0.7169 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.0006433/0.6633, allocations: 0.5187 MB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.6633, allocations: 9.594 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.6634, allocations: 26.19 kB / 0.953 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.6636, allocations: 255.3 kB / 0.9533 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.6636, allocations: 15.47 kB / 0.9533 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.6637, allocations: 16.19 kB / 0.9533 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.664, allocations: 236.2 kB / 0.9535 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.6641, allocations: 0 / 0.9535 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.6641, allocations: 6.844 kB / 0.9536 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.6641, allocations: 3.75 kB / 0.9536 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.6644, allocations: 139.9 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007781/0.6652, allocations: 0.5927 MB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.6655, allocations: 116.4 kB / 0.9544 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.6656, allocations: 53.55 kB / 0.9544 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.6657, allocations: 13.48 kB / 0.9544 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.6657, allocations: 32 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.6657, allocations: 3.938 kB / 0.9545 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004238/0.6661, allocations: 166.6 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.6662, allocations: 137.9 kB / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.6663, allocations: 213.6 kB / 0.955 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.6664, allocations: 33.27 kB / 0.955 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.6664, allocations: 143.8 kB / 0.9551 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.6665, allocations: 35.47 kB / 0.9552 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.6665, allocations: 38.14 kB / 0.9552 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.6666, allocations: 328.3 kB / 0.9555 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.6667, allocations: 46.59 kB / 0.9556 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.6668, allocations: 87.3 kB / 0.9557 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.667, allocations: 95.78 kB / 0.9557 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.667, allocations: 0 / 0.9557 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002797/0.6673, allocations: 154.7 kB / 0.9559 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6673, allocations: 5.594 kB / 0.9559 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.6674, allocations: 4.031 kB / 0.9559 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6674, allocations: 5.188 kB / 0.9559 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.6675, allocations: 21.42 kB / 0.9559 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6675, allocations: 1.156 kB / 0.9559 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.6676, allocations: 28.62 kB / 0.956 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.6677, allocations: 8.688 kB / 0.956 GB, free: 3.309 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.114e-05/0.6678, allocations: 138.8 kB / 0.9561 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.6678, allocations: 17.19 kB / 0.9561 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/0.6681, allocations: 143.1 kB / 0.9562 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.6681, allocations: 8.969 kB / 0.9563 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6682, allocations: 0.9688 kB / 0.9563 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6682, allocations: 0 / 0.9563 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.6684, allocations: 265.6 kB / 0.9565 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6684, allocations: 0 / 0.9565 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.704e-05/0.6685, allocations: 14.11 kB / 0.9565 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6685, allocations: 5.5 kB / 0.9565 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6685, allocations: 5.422 kB / 0.9565 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.6685, allocations: 3.938 kB / 0.9565 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6685, allocations: 0 / 0.9565 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.6688, allocations: 230.9 kB / 0.9568 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.6688, allocations: 104.3 kB / 0.9569 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.6689, allocations: 3.688 kB / 0.9569 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.669, allocations: 30.56 kB / 0.9569 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.6691, allocations: 22.94 kB / 0.9569 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.6691, allocations: 11.14 kB / 0.9569 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.639e-05/0.6692, allocations: 147.7 kB / 0.9571 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6692, allocations: 0 / 0.9571 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002772/0.6695, allocations: 41.88 kB / 0.9571 GB, free: 2.32 MB / 0.7169 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) * Number of clocked states: 0 () * 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 (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.000126/0.6696, allocations: 110.7 kB / 0.9572 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.6699, allocations: 114.7 kB / 0.9573 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6699, allocations: 0 / 0.9573 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.6701, allocations: 46.27 kB / 0.9574 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.6704, allocations: 20.36 kB / 0.9574 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.6709, allocations: 387.1 kB / 0.9578 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.6711, allocations: 0.7296 MB / 0.9585 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.853e-05/0.6712, allocations: 23.08 kB / 0.9585 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.6712, allocations: 21.05 kB / 0.9585 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/0.6712, allocations: 0 / 0.9585 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of Templates: time 0.004633/0.6759, allocations: 1.904 MB / 0.9604 GB, free: 176 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches