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.00631/0.00631, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001301/0.001301, allocations: 193 kB / 16.67 MB, free: 5.969 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.364/1.364, 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 10.1.1-maint.10.0.x/package.mo): time 2.394/2.394, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.88 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8107, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003033/0.8137, allocations: 2.029 MB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009251/0.8147, allocations: 0.5767 MB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.115e-05/0.8148, allocations: 4 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.8149, allocations: 27.66 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.112e-05/0.815, allocations: 31.61 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.8153, allocations: 79.89 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.8155, allocations: 228 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.8157, allocations: 111.6 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.8158, allocations: 91.58 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.816, allocations: 107.5 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.816, allocations: 24 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-05/0.8161, allocations: 31.94 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.8162, allocations: 55.84 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.8163, allocations: 103.5 kB / 1.17 GB, free: 308 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.8166, allocations: 283.4 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.8166, allocations: 4 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of FrontEnd: time 3.637e-06/0.8166, allocations: 0 / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.8166, allocations: 3.938 kB / 1.17 GB, free: 20 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.0007545/0.8174, allocations: 0.5217 MB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.8174, allocations: 16.92 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.8175, allocations: 24.8 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.8178, allocations: 248.8 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.8178, allocations: 16.38 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.8179, allocations: 16.38 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.8183, allocations: 236.8 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.8183, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.8183, allocations: 4 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.8183, allocations: 7.938 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.8186, allocations: 143.7 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.8195, allocations: 0.5975 MB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.8198, allocations: 118.7 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.82, allocations: 52.84 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.82, allocations: 4 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.8201, allocations: 30.56 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.8201, allocations: 4 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.000433/0.8205, allocations: 169.7 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.8206, allocations: 132.5 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.8208, allocations: 212.2 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.8208, allocations: 37.69 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.8209, allocations: 132.4 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.8209, allocations: 32.11 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.821, allocations: 41.7 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8211, allocations: 330.8 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.8213, allocations: 39.98 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.8214, allocations: 92.14 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.8216, allocations: 91.06 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8216, allocations: 0 / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003088/0.822, allocations: 162.8 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.822, allocations: 8 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.822, allocations: 4.031 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.822, allocations: 0 / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.8221, allocations: 19.92 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.8221, allocations: 7.938 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.8223, allocations: 31.86 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.8223, allocations: 4 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.0001201/0.8224, allocations: 140.4 kB / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.8225, allocations: 15.91 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.8228, allocations: 147 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.8228, allocations: 7.938 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8228, allocations: 3.938 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8229, allocations: 0 / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.8231, allocations: 273.5 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8231, allocations: 0 / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-05/0.8232, allocations: 15.98 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8232, allocations: 8 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.8233, allocations: 4 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.8233, allocations: 3.938 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8233, allocations: 0 / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.8236, allocations: 231.3 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.8237, allocations: 93.02 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.8237, allocations: 3.984 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.8239, allocations: 27.92 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.8239, allocations: 32.08 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.824, allocations: 0 / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001214/0.8241, allocations: 155.6 kB / 1.175 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8241, allocations: 0 / 1.175 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002709/0.8244, allocations: 39.89 kB / 1.175 GB, free: 10.93 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.000154/0.8245, allocations: 115.2 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.8249, allocations: 111.9 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8249, allocations: 0 / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.825, allocations: 51.92 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.8253, allocations: 24.53 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.8259, allocations: 328.7 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.8262, allocations: 0.728 MB / 1.176 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.153e-05/0.8263, allocations: 21.42 kB / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.8264, allocations: 19.42 kB / 1.176 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8264, allocations: 0 / 1.176 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.004923/0.8313, allocations: 2.188 MB / 1.178 GB, free: 7.316 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/jenkins/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