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.007403/0.007403, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001714/0.001714, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.238/2.238, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7659/0.7672, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003385/0.7707, allocations: 2.04 MB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.772, allocations: 0.5613 MB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.7721, allocations: 3.031 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.7723, allocations: 24.98 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.7725, allocations: 38.8 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.7729, allocations: 87.11 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.7732, allocations: 227.6 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.7735, allocations: 114.8 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.7737, allocations: 84.56 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.7739, allocations: 107.7 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/0.774, allocations: 23.84 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.7741, allocations: 33.64 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.7742, allocations: 52.75 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.7743, allocations: 106.1 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.7748, allocations: 278.2 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.7748, allocations: 4.719 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.136e-06/0.7748, allocations: 0 / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.7749, allocations: 4 kB / 1.092 GB, free: 3.051 MB / 0.8575 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.0008789/0.7757, allocations: 0.5224 MB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7758, allocations: 9.781 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.298e-05/0.7759, allocations: 26.06 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.7762, allocations: 257 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.7763, allocations: 20.84 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.7763, allocations: 16.34 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.7768, allocations: 222.6 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.7768, allocations: 0 / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.7768, allocations: 9.906 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.7768, allocations: 4.906 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.7772, allocations: 147.8 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009883/0.7782, allocations: 0.5856 MB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.7785, allocations: 121.1 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.7787, allocations: 53.52 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.7787, allocations: 7 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.7788, allocations: 36.44 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.7788, allocations: 0 / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005011/0.7793, allocations: 168.6 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.7793, allocations: 139.1 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.7796, allocations: 210.4 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.7796, allocations: 33.36 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.7797, allocations: 139.5 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.7797, allocations: 30.69 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.7798, allocations: 39.97 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.7799, allocations: 331.7 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.7801, allocations: 46.89 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.7802, allocations: 87.67 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.7805, allocations: 92.25 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.7805, allocations: 3.938 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000349/0.7808, allocations: 160 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.7809, allocations: 5.156 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7809, allocations: 0.7812 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.7809, allocations: 1.484 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.781, allocations: 20.62 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7811, allocations: 1.859 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.7812, allocations: 36.02 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.7813, allocations: 3.719 kB / 1.095 GB, free: 452 kB / 0.8575 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 0.0001146/0.7814, allocations: 137.8 kB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.7815, allocations: 17.28 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.7818, allocations: 149.1 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.7818, allocations: 9.594 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7819, allocations: 0.7969 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7819, allocations: 1.484 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.7822, allocations: 276 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7822, allocations: 0.7969 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.7823, allocations: 18.17 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.7823, allocations: 0.5625 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.7824, allocations: 2.906 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.7824, allocations: 4.531 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7824, allocations: 1.172 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.7828, allocations: 231.9 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-05/0.7829, allocations: 94.33 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.7829, allocations: 7.453 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.7831, allocations: 22.08 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.7832, allocations: 22.73 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.7833, allocations: 8.516 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002104/0.7835, allocations: 155.8 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7835, allocations: 192 / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003488/0.7838, allocations: 41.2 kB / 1.096 GB, free: 15.57 MB / 0.8731 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.0002231/0.7841, allocations: 113 kB / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.7845, allocations: 114.8 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7845, allocations: 4.062 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.7847, allocations: 53.22 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.7851, allocations: 18.5 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/0.786, allocations: 326.4 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.7865, allocations: 0.7319 MB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.7866, allocations: 16.28 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.7867, allocations: 23.62 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.7867, allocations: 0 / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.007617/0.7943, allocations: 2.182 MB / 1.1 GB, free: 14.29 MB / 0.8731 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