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.001574/0.001574, allocations: 112.9 kB / 16.42 MB, free: 6.449 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.00183/0.00183, allocations: 189.7 kB / 17.35 MB, free: 5.734 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.17 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.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.738, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002965/0.741, allocations: 2.03 MB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009172/0.742, allocations: 0.571 MB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.353e-05/0.742, allocations: 2.531 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.7422, allocations: 20.25 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.177e-05/0.7422, allocations: 43.27 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.7425, allocations: 87.03 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.7428, allocations: 228 kB / 1.092 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.743, allocations: 106.7 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.7431, allocations: 91.52 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.7432, allocations: 103.6 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.7433, allocations: 25.44 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.465e-05/0.7434, allocations: 33.06 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.649e-05/0.7434, allocations: 56.47 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.62e-05/0.7435, allocations: 106.2 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.7439, allocations: 277 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7439, allocations: 0 / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7439, allocations: 9.219 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.7439, allocations: 0 / 1.092 GB, free: 3.082 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.0007399/0.7446, allocations: 0.5159 MB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.7447, allocations: 10.02 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.7448, allocations: 25.34 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.745, allocations: 261.4 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.7451, allocations: 15.69 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.7451, allocations: 20.39 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.7455, allocations: 230.2 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.7455, allocations: 1.422 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.7455, allocations: 5.656 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.7455, allocations: 4.594 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.7459, allocations: 143 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/0.7467, allocations: 0.5823 MB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.747, allocations: 121.5 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.7472, allocations: 58 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.7472, allocations: 3.109 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.7472, allocations: 31.91 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.7472, allocations: 0 / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004438/0.7477, allocations: 172.6 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.7477, allocations: 138 kB / 1.095 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.7479, allocations: 211.5 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.7479, allocations: 32.48 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.748, allocations: 147.7 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.748, allocations: 27.03 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.7481, allocations: 39.5 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.7482, allocations: 324.7 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.7483, allocations: 49.27 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.7484, allocations: 83.25 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.7486, allocations: 94.09 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7487, allocations: 1.156 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003007/0.749, allocations: 165.1 kB / 1.096 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.749, allocations: 5.844 kB / 1.096 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.749, allocations: 4.5 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.749, allocations: 1.438 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.7491, allocations: 16.36 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.7492, allocations: 6.094 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.7493, allocations: 27.39 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.7493, allocations: 16.66 kB / 1.096 GB, free: 484 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 9.645e-05/0.7494, allocations: 135.2 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.7495, allocations: 16.41 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.7498, allocations: 141.7 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7498, allocations: 5.516 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7498, allocations: 3.938 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.7499, allocations: 95.58 kB / 1.096 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.7499, allocations: 7.203 kB / 1.096 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.7501, allocations: 21.19 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.7502, allocations: 23.55 kB / 1.096 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003589/0.7505, allocations: 215.8 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004004/0.751, allocations: 316.2 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001314/0.7511, allocations: 49.58 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001363/0.7512, allocations: 154.7 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of Backend: time 3.91e-07/0.7512, allocations: 0 / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000533/0.7518, allocations: 162.4 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of SimCode: time 0.000736/0.7525, allocations: 0.7572 MB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.005749/0.7583, allocations: 2.432 MB / 1.1 GB, free: 14.67 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/jenkins1/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