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.001404/0.001404, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00159/0.00159, allocations: 197.9 kB / 16.14 MB, free: 6.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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.524/2.524, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 0.8685 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/0.5995, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003324/0.6029, allocations: 2.1 MB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.6039, allocations: 0.561 MB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.6041, allocations: 4 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.6043, allocations: 19.8 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.6044, allocations: 19.8 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.6047, allocations: 68.02 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.6049, allocations: 212 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.6051, allocations: 107.5 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.6053, allocations: 87.56 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.6054, allocations: 83.55 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.6055, allocations: 12 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.6056, allocations: 23.98 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.6056, allocations: 39.84 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.6057, allocations: 95.33 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.606, allocations: 261.1 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.606, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.606, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.606, allocations: 4 kB / 1.02 GB, free: 15.08 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.0008323/0.6069, allocations: 0.5064 MB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.6069, allocations: 12.03 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.607, allocations: 28.59 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.6073, allocations: 252.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.6074, allocations: 16.38 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.6074, allocations: 12.38 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.6078, allocations: 232.8 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.6078, allocations: 7.922 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.6079, allocations: 12 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.6079, allocations: 4 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.6082, allocations: 139.9 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009292/0.6091, allocations: 0.5972 MB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.6095, allocations: 118.7 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.6097, allocations: 52.83 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.6097, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.6097, allocations: 30.56 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.6097, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004616/0.6102, allocations: 173.6 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.6103, allocations: 136.5 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.6105, allocations: 208.2 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.6105, allocations: 33.7 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.611e-05/0.6106, allocations: 144.2 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.6107, allocations: 35.48 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.6107, allocations: 37.7 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6108, allocations: 326.8 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.611, allocations: 51.97 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.6111, allocations: 80.27 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.6114, allocations: 92.69 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6114, allocations: 0 / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003217/0.6117, allocations: 157.4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6117, allocations: 6.344 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.6117, allocations: 384 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.6118, allocations: 4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.6119, allocations: 23.86 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.6119, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.6121, allocations: 39.75 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.6121, allocations: 4.031 kB / 1.024 GB, free: 11.27 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.0001294/0.6122, allocations: 134.4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.6123, allocations: 19.8 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.6126, allocations: 143 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6126, allocations: 3.938 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.6127, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.6127, allocations: 7.938 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.6129, allocations: 269.4 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.613, allocations: 0 / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.6131, allocations: 15.98 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.6131, allocations: 0 / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.6131, allocations: 11.92 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6131, allocations: 7.938 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6131, allocations: 0 / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.6134, allocations: 223.3 kB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.6135, allocations: 100.8 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.6135, allocations: 12.05 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.6137, allocations: 27.89 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.6138, allocations: 19.97 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.6138, allocations: 7.984 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001255/0.614, allocations: 147.4 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.614, allocations: 4 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003066/0.6143, allocations: 43.84 kB / 1.025 GB, free: 10 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.0001643/0.6145, allocations: 115.4 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003001/0.6148, allocations: 111.8 kB / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6148, allocations: 0 / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.6149, allocations: 59.98 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.6153, allocations: 19.98 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.6159, allocations: 378.8 kB / 1.025 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.6162, allocations: 0.7324 MB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.305e-05/0.6163, allocations: 17.42 kB / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.6164, allocations: 23.42 kB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of SimCode: time 6.11e-07/0.6164, allocations: 0 / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.004936/0.6213, allocations: 1.896 MB / 1.028 GB, free: 6.625 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