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.001367/0.001367, allocations: 101.7 kB / 16.4 MB, free: 6.453 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.001593/0.001593, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.06 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.464/2.464, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9268/0.9281, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003276/0.9314, allocations: 2.042 MB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.9326, allocations: 0.5689 MB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.832e-05/0.9327, allocations: 4 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.9328, allocations: 27.66 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.9329, allocations: 27.67 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.9333, allocations: 87.84 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.9335, allocations: 231.9 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.9338, allocations: 103.6 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.9339, allocations: 87.69 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.9341, allocations: 107.4 kB / 1.171 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.9341, allocations: 24 kB / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.339e-05/0.9342, allocations: 36 kB / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.9343, allocations: 55.83 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.669e-05/0.9344, allocations: 107.5 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.9347, allocations: 274.8 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9347, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9347, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.9348, allocations: 0 / 1.171 GB, free: 60 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.0008321/0.9356, allocations: 0.5199 MB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.9356, allocations: 8.922 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.9357, allocations: 28.66 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.9361, allocations: 256.6 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.9361, allocations: 12.38 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.9361, allocations: 16.38 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.9365, allocations: 232.9 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.9366, allocations: 0 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.9366, allocations: 12 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.9366, allocations: 4 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.9369, allocations: 147.6 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008868/0.9378, allocations: 0.5857 MB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.9382, allocations: 114.7 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.9383, allocations: 56.84 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.9383, allocations: 4 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.9384, allocations: 34.56 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.9384, allocations: 3.938 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0004501/0.9388, allocations: 165.6 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.9389, allocations: 140.5 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.9391, allocations: 204.2 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.9392, allocations: 37.69 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/0.9392, allocations: 144.1 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.9393, allocations: 27.64 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.9394, allocations: 37.7 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9395, allocations: 330.8 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.9396, allocations: 43.98 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.9397, allocations: 93.7 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.94, allocations: 89.69 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.94, allocations: 0 / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002958/0.9403, allocations: 162.5 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.9403, allocations: 6.5 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.9403, allocations: 0 / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.9403, allocations: 4 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.9404, allocations: 19.92 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.9405, allocations: 4 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.9406, allocations: 31.91 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.9406, allocations: 4 kB / 1.174 GB, free: 12.26 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.0001309/0.9408, allocations: 137.8 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.9408, allocations: 19.72 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.9411, allocations: 151.3 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.9412, allocations: 3.938 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9412, allocations: 0 / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.9412, allocations: 0 / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.9414, allocations: 269.5 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9415, allocations: 0 / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.9416, allocations: 23.98 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.9416, allocations: 0 / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.9416, allocations: 4.047 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.9416, allocations: 3.938 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9416, allocations: 3.984 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.9419, allocations: 231.2 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.942, allocations: 96.86 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.942, allocations: 11.98 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.9422, allocations: 19.92 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.9423, allocations: 23.95 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.9423, allocations: 4 kB / 1.175 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001211/0.9424, allocations: 151.7 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9424, allocations: 4 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002779/0.9427, allocations: 39.84 kB / 1.176 GB, free: 10.98 MB / 0.9044 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.0001692/0.9429, allocations: 115.2 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000306/0.9432, allocations: 107.9 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9432, allocations: 0 / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.9433, allocations: 52.16 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.9437, allocations: 24.12 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.9444, allocations: 358 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.9447, allocations: 0.728 MB / 1.177 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.9447, allocations: 27.42 kB / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.9448, allocations: 0 / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of Templates: time 0.004283/0.949, allocations: 2.384 MB / 1.179 GB, free: 7.137 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