Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001422/0.001427, allocations: 104.9 kB / 16.41 MB, free: 6.465 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.001621/0.001621, allocations: 192.3 kB / 17.35 MB, free: 5.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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.492/2.492, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7192, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003459/0.7227, allocations: 2.045 MB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.7239, allocations: 0.5689 MB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.724, allocations: 4 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.7242, allocations: 23.67 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.7244, allocations: 35.66 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.7247, allocations: 79.86 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.7249, allocations: 231.9 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.7252, allocations: 107.6 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.7253, allocations: 87.69 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.7255, allocations: 103.4 kB / 1.171 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.7255, allocations: 28 kB / 1.171 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/0.7256, allocations: 35.98 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.7257, allocations: 51.84 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.7258, allocations: 103.5 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.7261, allocations: 283.4 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7262, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7262, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.7262, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 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.0008539/0.727, allocations: 0.5217 MB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.7271, allocations: 12.62 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.7272, allocations: 32.8 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.7275, allocations: 256.7 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.7276, allocations: 12.38 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.7276, allocations: 20.38 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.728, allocations: 228.9 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7281, allocations: 0 / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.7281, allocations: 8 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.7281, allocations: 7.984 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.7284, allocations: 147.6 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.7294, allocations: 0.5897 MB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.7298, allocations: 122.7 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.7299, allocations: 56.77 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.7299, allocations: 12 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.73, allocations: 30.56 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.73, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0004843/0.7305, allocations: 169.7 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.7306, allocations: 136.5 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.7308, allocations: 208.2 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.7308, allocations: 33.7 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.7309, allocations: 144.4 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.7309, allocations: 31.73 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.731, allocations: 33.7 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7311, allocations: 326.8 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.7313, allocations: 47.97 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.7314, allocations: 89.27 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.7317, allocations: 94.75 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7317, allocations: 0 / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003224/0.732, allocations: 157.5 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.732, allocations: 4 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7321, allocations: 4.031 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.7321, allocations: 4 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.7322, allocations: 15.98 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.7322, allocations: 7.922 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.7324, allocations: 27.88 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.7324, allocations: 8 kB / 1.174 GB, free: 12.21 MB / 0.9044 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.0001252/0.7325, allocations: 144.3 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.7326, allocations: 15.91 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.7329, allocations: 143.3 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7329, allocations: 96 / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.733, allocations: 7.875 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.733, allocations: 96.94 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.7331, allocations: 8 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.7332, allocations: 15.98 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.7333, allocations: 27.95 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003961/0.7337, allocations: 212.8 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003548/0.7341, allocations: 314.6 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001214/0.7342, allocations: 55.91 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001344/0.7344, allocations: 159.7 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of Backend: time 5.71e-07/0.7344, allocations: 0 / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005492/0.7349, allocations: 151.7 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007831/0.7357, allocations: 0.7522 MB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.005513/0.7413, allocations: 2.452 MB / 1.179 GB, free: 7.594 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches