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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.954/2.954, allocations: 489.3 MB / 0.7687 GB, free: 3.746 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.88 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9533/0.9553, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003265/0.9586, allocations: 2.034 MB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009963/0.9596, allocations: 0.5625 MB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.9597, allocations: 6.594 kB / 1.265 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.9599, allocations: 20.53 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.9599, allocations: 42.56 kB / 1.265 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.9603, allocations: 79.31 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.9605, allocations: 227.6 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.9608, allocations: 111.1 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.9609, allocations: 91.91 kB / 1.266 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.9611, allocations: 98.88 kB / 1.266 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.9611, allocations: 24.69 kB / 1.266 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.9612, allocations: 34.05 kB / 1.266 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.9613, allocations: 56.36 kB / 1.266 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.605e-05/0.9614, allocations: 105.8 kB / 1.266 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.9618, allocations: 279.7 kB / 1.266 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9618, allocations: 5.125 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9618, allocations: 0.5312 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.9618, allocations: 4 kB / 1.266 GB, free: 5.551 MB / 0.9981 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.0007331/0.9626, allocations: 0.5188 MB / 1.267 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.9626, allocations: 8.75 kB / 1.267 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.9627, allocations: 31.17 kB / 1.267 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.963, allocations: 257 kB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.963, allocations: 16.53 kB / 1.267 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.9631, allocations: 15.91 kB / 1.267 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.9635, allocations: 230.7 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.9635, allocations: 3.984 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.9635, allocations: 10.47 kB / 1.267 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.9635, allocations: 4.188 kB / 1.267 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.9639, allocations: 139.2 kB / 1.267 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000902/0.9648, allocations: 0.5902 MB / 1.268 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.9651, allocations: 121.2 kB / 1.268 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.9653, allocations: 53.39 kB / 1.268 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.9653, allocations: 6.328 kB / 1.268 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.9653, allocations: 40.97 kB / 1.268 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.9653, allocations: 0 / 1.268 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004697/0.9658, allocations: 168.4 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.9659, allocations: 138.9 kB / 1.269 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.9661, allocations: 211.2 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.9661, allocations: 31.92 kB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.9662, allocations: 140.5 kB / 1.269 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.9662, allocations: 34.3 kB / 1.269 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.9663, allocations: 35.42 kB / 1.269 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.9664, allocations: 332.8 kB / 1.269 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.9665, allocations: 45.89 kB / 1.269 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.9666, allocations: 87.42 kB / 1.269 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.9669, allocations: 96.22 kB / 1.27 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9669, allocations: 0.5625 kB / 1.27 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003133/0.9672, allocations: 150.8 kB / 1.27 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.9672, allocations: 10.16 kB / 1.27 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.9672, allocations: 0.7188 kB / 1.27 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.9673, allocations: 0.9375 kB / 1.27 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.9674, allocations: 25.64 kB / 1.27 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.9674, allocations: 0.9688 kB / 1.27 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.9675, allocations: 35.97 kB / 1.27 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.9676, allocations: 4.609 kB / 1.27 GB, free: 2.934 MB / 0.9981 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.679e-05/0.9677, allocations: 130.6 kB / 1.27 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.9677, allocations: 17.25 kB / 1.27 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.968, allocations: 145.9 kB / 1.27 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9681, allocations: 8.875 kB / 1.27 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.9681, allocations: 1.641 kB / 1.27 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.9681, allocations: 0.7969 kB / 1.27 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.9684, allocations: 275.7 kB / 1.27 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.9684, allocations: 1.484 kB / 1.27 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.673e-05/0.9685, allocations: 22.19 kB / 1.27 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9685, allocations: 0.8125 kB / 1.27 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.9685, allocations: 6.125 kB / 1.27 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.9685, allocations: 5.328 kB / 1.27 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9685, allocations: 4.734 kB / 1.27 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.9688, allocations: 231.5 kB / 1.271 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.9689, allocations: 91.53 kB / 1.271 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.9689, allocations: 6.719 kB / 1.271 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.9691, allocations: 22.03 kB / 1.271 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.9692, allocations: 23.61 kB / 1.271 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.9692, allocations: 8.219 kB / 1.271 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001235/0.9693, allocations: 150.5 kB / 1.271 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9693, allocations: 0 / 1.271 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002706/0.9696, allocations: 41.61 kB / 1.271 GB, free: 2.062 MB / 0.9981 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.0001467/0.9698, allocations: 113.4 kB / 1.271 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.9701, allocations: 110.4 kB / 1.271 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9701, allocations: 4.062 kB / 1.271 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.9703, allocations: 53.5 kB / 1.271 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.9706, allocations: 22.53 kB / 1.271 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.9713, allocations: 368.4 kB / 1.272 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.9714, allocations: 0.7352 MB / 1.272 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.9715, allocations: 25.86 kB / 1.272 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.9715, allocations: 0 / 1.272 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of Templates: time 0.005089/0.9766, allocations: 2.377 MB / 1.275 GB, free: 0.6875 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.280055978801101]