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.001049/0.001049, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.00857/0.00857, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.588/2.588, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8 kB / 0.8728 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6634/0.6638, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002289/0.6661, allocations: 1.743 MB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.6672, allocations: 0.5494 MB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.6673, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.6674, allocations: 11.86 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.6676, allocations: 31.72 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.6678, allocations: 71.94 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.6681, allocations: 208 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.6683, allocations: 103.6 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.6685, allocations: 59.66 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.6686, allocations: 83.48 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.6686, allocations: 4 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.6687, allocations: 15.98 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.6688, allocations: 23.86 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.6689, allocations: 105.2 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.6691, allocations: 253 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6691, allocations: 4 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6692, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.6692, allocations: 0 / 1.026 GB, free: 12.55 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.0007186/0.6699, allocations: 498.7 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.6699, allocations: 8.031 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/0.67, allocations: 24.66 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.6703, allocations: 260.6 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.6704, allocations: 12.38 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.6704, allocations: 20.31 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.6708, allocations: 236.9 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6708, allocations: 3.984 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.6709, allocations: 12 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6709, allocations: 4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.6712, allocations: 147.9 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009452/0.6722, allocations: 0.6089 MB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.6726, allocations: 126.7 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.6727, allocations: 56.83 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.6727, allocations: 7.938 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.6728, allocations: 30.56 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.6728, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004567/0.6732, allocations: 181.6 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.6733, allocations: 140.4 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.6735, allocations: 208.2 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.6735, allocations: 33.7 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.6736, allocations: 144.2 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.6737, allocations: 31.55 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.6737, allocations: 21.72 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6738, allocations: 334.8 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.674, allocations: 43.98 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.6741, allocations: 92.25 kB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.6744, allocations: 101.6 kB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6744, allocations: 0 / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003099/0.6747, allocations: 165.4 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6747, allocations: 4 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6747, allocations: 4 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.6747, allocations: 4 kB / 1.03 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.6748, allocations: 19.92 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.6749, allocations: 8.406 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.675, allocations: 39.81 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.675, allocations: 4 kB / 1.03 GB, free: 8.691 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.0001223/0.6752, allocations: 135.6 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.6752, allocations: 23.75 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.6756, allocations: 155 kB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6756, allocations: 3.938 kB / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6756, allocations: 0 / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6756, allocations: 0 / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.6759, allocations: 269.5 kB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6759, allocations: 4 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.757e-05/0.676, allocations: 19.98 kB / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.676, allocations: 0 / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.676, allocations: 4 kB / 1.03 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.676, allocations: 3.938 kB / 1.03 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.676, allocations: 7.922 kB / 1.03 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.6763, allocations: 235.3 kB / 1.031 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.6764, allocations: 100.8 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.6764, allocations: 4.047 kB / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.6766, allocations: 31.91 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.6767, allocations: 31.95 kB / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.6767, allocations: 0 / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001239/0.6768, allocations: 155.3 kB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6769, allocations: 0 / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000269/0.6771, allocations: 39.84 kB / 1.031 GB, free: 7.398 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.0001492/0.6773, allocations: 113.2 kB / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.6776, allocations: 116.1 kB / 1.031 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6776, allocations: 7.938 kB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.6777, allocations: 55.97 kB / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.6781, allocations: 18.28 kB / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.6788, allocations: 404.4 kB / 1.032 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.6791, allocations: 0.7285 MB / 1.032 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.646e-05/0.6792, allocations: 17.42 kB / 1.032 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.6793, allocations: 19.42 kB / 1.032 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6793, allocations: 0 / 1.032 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of Templates: time 0.005132/0.6844, allocations: 1.885 MB / 1.034 GB, free: 4.012 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=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