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.001597/0.001597, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001775/0.001775, allocations: 194.1 kB / 16.14 MB, free: 6.676 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.748/2.748, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 71.89 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6519/0.6538, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003836/0.6577, allocations: 2.106 MB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.6589, allocations: 0.5571 MB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.514e-05/0.659, allocations: 4 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.6592, allocations: 19.8 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.331e-05/0.6593, allocations: 27.78 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.6596, allocations: 67.95 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.6598, allocations: 208 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.6601, allocations: 99.66 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.6602, allocations: 87.56 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.6604, allocations: 91.53 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.6604, allocations: 15.94 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.782e-05/0.6605, allocations: 16 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.6606, allocations: 43.83 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.6607, allocations: 91.45 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.661, allocations: 265 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6611, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6611, allocations: 8 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.6611, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 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.0008927/0.662, allocations: 0.5025 MB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.662, allocations: 12.03 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.6621, allocations: 28.64 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.6625, allocations: 256.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.6625, allocations: 12.38 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.6626, allocations: 20.38 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.663, allocations: 225 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.663, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.6631, allocations: 11.98 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.6631, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.6634, allocations: 143.7 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.6645, allocations: 0.5894 MB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.6649, allocations: 126.7 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.665, allocations: 44.84 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/0.6651, allocations: 8 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.6651, allocations: 30.56 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.6651, allocations: 3.938 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004958/0.6656, allocations: 173.6 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.6657, allocations: 136.5 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.666, allocations: 203.1 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.666, allocations: 33.7 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.6661, allocations: 148.6 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.6662, allocations: 31.55 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.6663, allocations: 33.7 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6664, allocations: 334.8 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.6666, allocations: 51.92 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.6667, allocations: 89.52 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.6669, allocations: 91.81 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6669, allocations: 0 / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003289/0.6673, allocations: 161.4 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6673, allocations: 4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6673, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.6673, allocations: 4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.6675, allocations: 23.86 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6675, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.6676, allocations: 27.83 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.6677, allocations: 8.031 kB / 1.024 GB, free: 11.29 MB / 0.7794 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.0001404/0.6678, allocations: 140.2 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.6678, allocations: 15.81 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.6682, allocations: 143 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.6682, allocations: 3.938 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6682, allocations: 3.984 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6682, allocations: 4 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.6685, allocations: 273.4 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6686, allocations: 0 / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.6687, allocations: 15.98 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6687, allocations: 0 / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.6687, allocations: 0 / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.6687, allocations: 11.88 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.6687, allocations: 0 / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.6691, allocations: 231.2 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.6691, allocations: 96.89 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.6692, allocations: 8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.6693, allocations: 32.03 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.6694, allocations: 19.95 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.6695, allocations: 7.938 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001358/0.6696, allocations: 152.4 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6696, allocations: 4 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002802/0.6699, allocations: 43.84 kB / 1.025 GB, free: 10.02 MB / 0.7794 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.0001852/0.6701, allocations: 107.8 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.6704, allocations: 107.9 kB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6704, allocations: 0 / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.6706, allocations: 59.97 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.671, allocations: 16 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.6717, allocations: 382.9 kB / 1.025 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.6721, allocations: 0.7285 MB / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.937e-05/0.6722, allocations: 21.42 kB / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.6722, allocations: 23.42 kB / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of SimCode: time 2.073e-06/0.6722, allocations: 0 / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of Templates: time 0.005221/0.6775, allocations: 1.9 MB / 1.028 GB, free: 6.645 MB / 0.7794 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=400 -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