Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009288/0.0009289, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 178.1 kB / 16.92 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.9 MB / 0.667 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 8 kB / 0.8166 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.7044, allocations: 142.4 MB / 0.9557 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002121/0.7066, allocations: 1.739 MB / 0.9574 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009677/0.7076, allocations: 0.5388 MB / 0.9579 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.7077, allocations: 5.094 kB / 0.9579 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.7078, allocations: 11.86 kB / 0.958 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.039e-05/0.7079, allocations: 29.58 kB / 0.958 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.7082, allocations: 72.83 kB / 0.9581 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.7084, allocations: 208.2 kB / 0.9583 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.7086, allocations: 107.2 kB / 0.9584 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.7087, allocations: 59.48 kB / 0.9584 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.7088, allocations: 79.56 kB / 0.9585 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.7089, allocations: 6.5 kB / 0.9585 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.709, allocations: 16.8 kB / 0.9585 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.709, allocations: 35.41 kB / 0.9585 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.267e-05/0.7091, allocations: 104.1 kB / 0.9586 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.7093, allocations: 197.8 kB / 0.9588 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7093, allocations: 0 / 0.9588 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.016e-06/0.7093, allocations: 0 / 0.9588 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.7094, allocations: 0 / 0.9588 GB, free: 5.273 MB / 0.7169 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.0006668/0.71, allocations: 0.4947 MB / 0.9593 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.7101, allocations: 9.25 kB / 0.9593 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.7101, allocations: 25.5 kB / 0.9593 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.7104, allocations: 266.2 kB / 0.9596 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.7105, allocations: 15.84 kB / 0.9596 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.7105, allocations: 15.78 kB / 0.9596 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.7109, allocations: 239.6 kB / 0.9599 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.7109, allocations: 1.375 kB / 0.9599 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.7109, allocations: 9.375 kB / 0.9599 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.711, allocations: 8.062 kB / 0.9599 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.7113, allocations: 147.7 kB / 0.96 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/0.7121, allocations: 0.604 MB / 0.9606 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.7125, allocations: 127.1 kB / 0.9607 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.7126, allocations: 54.95 kB / 0.9608 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.7127, allocations: 2.75 kB / 0.9608 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.7127, allocations: 31.94 kB / 0.9608 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.7127, allocations: 0 / 0.9608 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004631/0.7132, allocations: 181 kB / 0.961 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.7132, allocations: 138.9 kB / 0.9611 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.7134, allocations: 210.2 kB / 0.9613 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.7135, allocations: 32.61 kB / 0.9613 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.7135, allocations: 148 kB / 0.9615 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.7136, allocations: 31.03 kB / 0.9615 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.7136, allocations: 24.19 kB / 0.9615 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.7137, allocations: 330.8 kB / 0.9619 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.7138, allocations: 44.17 kB / 0.9619 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.714, allocations: 98.33 kB / 0.962 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.7142, allocations: 95.34 kB / 0.9621 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7142, allocations: 1.094 kB / 0.9621 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003253/0.7146, allocations: 173.2 kB / 0.9623 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.7146, allocations: 5.062 kB / 0.9623 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7146, allocations: 1.156 kB / 0.9623 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.7146, allocations: 0.9375 kB / 0.9623 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.7147, allocations: 22.45 kB / 0.9623 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7148, allocations: 5.062 kB / 0.9623 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.7149, allocations: 36.91 kB / 0.9623 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.715, allocations: 4.281 kB / 0.9623 GB, free: 2.359 MB / 0.7169 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.0001174/0.7151, allocations: 134.2 kB / 0.9625 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.7151, allocations: 24.31 kB / 0.9625 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.7155, allocations: 166.2 kB / 0.9626 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7155, allocations: 5.938 kB / 0.9626 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7155, allocations: 0 / 0.9626 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7155, allocations: 0.75 kB / 0.9626 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.7158, allocations: 264.8 kB / 0.9629 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7158, allocations: 4 kB / 0.9629 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.7159, allocations: 16.95 kB / 0.9629 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7159, allocations: 0.9062 kB / 0.9629 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.7159, allocations: 4.781 kB / 0.9629 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.7159, allocations: 4.688 kB / 0.9629 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7159, allocations: 0.8438 kB / 0.9629 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.7162, allocations: 235.8 kB / 0.9631 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.7163, allocations: 97.73 kB / 0.9632 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.7163, allocations: 6.422 kB / 0.9632 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.7165, allocations: 31.08 kB / 0.9633 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.7166, allocations: 29.83 kB / 0.9633 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.7166, allocations: 2.969 kB / 0.9633 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001211/0.7167, allocations: 149.6 kB / 0.9635 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.072e-06/0.7167, allocations: 0 / 0.9635 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002822/0.717, allocations: 44.78 kB / 0.9635 GB, free: 1.363 MB / 0.7169 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.0001772/0.7172, allocations: 111.4 kB / 0.9636 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.7175, allocations: 117.3 kB / 0.9637 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7175, allocations: 1.094 kB / 0.9637 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.7177, allocations: 66.91 kB / 0.9638 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.718, allocations: 19.34 kB / 0.9638 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.7187, allocations: 424.4 kB / 0.9642 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.7189, allocations: 0.7294 MB / 0.9649 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.7189, allocations: 21.92 kB / 0.9649 GB, free: 112 kB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.7189, allocations: 0 / 0.9649 GB, free: 112 kB / 0.7169 GB Notification: Performance of Templates: time 0.005145/0.7241, allocations: 2.355 MB / 0.9672 GB, free: 14.9 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches