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.001241/0.001241, allocations: 107.7 kB / 15.99 MB, free: 5.914 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.001243/0.001243, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.21 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.478/2.478, allocations: 437 MB / 0.7107 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.94 kB / 0.8694 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3283, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004039/0.3324, allocations: 2.1 MB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3337, allocations: 0.5571 MB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.3339, allocations: 4 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.3341, allocations: 19.78 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.3342, allocations: 19.8 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.3346, allocations: 83.86 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.3349, allocations: 216 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.3352, allocations: 111.6 kB / 1.02 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.3354, allocations: 91.58 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.3356, allocations: 103.5 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.3357, allocations: 24 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-05/0.3358, allocations: 31.98 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.3359, allocations: 51.84 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.336, allocations: 111.3 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.3363, allocations: 211.8 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3363, allocations: 0 / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3363, allocations: 0 / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.3363, allocations: 3.938 kB / 1.021 GB, free: 7.27 MB / 0.795 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.0008154/0.3371, allocations: 0.5142 MB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3372, allocations: 12.92 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/0.3373, allocations: 24.66 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.3376, allocations: 252.7 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3376, allocations: 12.38 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.3377, allocations: 16.38 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.3381, allocations: 236.8 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3381, allocations: 4 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.3381, allocations: 8 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3381, allocations: 4 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.3384, allocations: 139.9 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/0.3394, allocations: 0.5932 MB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.3398, allocations: 122.7 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3399, allocations: 48.84 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.3399, allocations: 0 / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.34, allocations: 34.56 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 2.474e-06/0.34, allocations: 4 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.000461/0.3404, allocations: 169.6 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.3405, allocations: 136.4 kB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3407, allocations: 214.9 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.3407, allocations: 33.7 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.3408, allocations: 140.2 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.3409, allocations: 31.55 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.341, allocations: 49.64 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3411, allocations: 330.8 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3412, allocations: 43.98 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3414, allocations: 80.77 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.3416, allocations: 97.38 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3416, allocations: 384 / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003074/0.3419, allocations: 153.5 kB / 1.024 GB, free: 3.535 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3419, allocations: 8 kB / 1.024 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3419, allocations: 0 / 1.024 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3419, allocations: 3.938 kB / 1.024 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3421, allocations: 23.86 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3421, allocations: 8.031 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.3422, allocations: 23.89 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.3422, allocations: 7.984 kB / 1.025 GB, free: 3.461 MB / 0.795 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.0001307/0.3424, allocations: 129.8 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.3424, allocations: 15.81 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.3428, allocations: 154.9 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3428, allocations: 7.938 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3428, allocations: 4 kB / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3428, allocations: 0 / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.3431, allocations: 273.4 kB / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3431, allocations: 0 / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.855e-05/0.3432, allocations: 19.92 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3432, allocations: 4 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3432, allocations: 0 / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3433, allocations: 3.938 kB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3433, allocations: 4 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.3436, allocations: 231.2 kB / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.3437, allocations: 92.95 kB / 1.025 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.3437, allocations: 7.984 kB / 1.025 GB, free: 2.438 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.3438, allocations: 19.92 kB / 1.025 GB, free: 2.418 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.3439, allocations: 31.95 kB / 1.025 GB, free: 2.387 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.344, allocations: 0 / 1.025 GB, free: 2.387 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001274/0.3441, allocations: 155.2 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3441, allocations: 0 / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002741/0.3444, allocations: 35.84 kB / 1.026 GB, free: 2.199 MB / 0.795 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.0001769/0.3446, allocations: 115.4 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.3449, allocations: 116 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3449, allocations: 0 / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.345, allocations: 59.91 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.3454, allocations: 13.31 kB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.3461, allocations: 418.8 kB / 1.026 GB, free: 1.453 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3465, allocations: 0.7322 MB / 1.027 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.3465, allocations: 23.42 kB / 1.027 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3465, allocations: 0 / 1.027 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of Templates: time 0.005252/0.3518, allocations: 2.379 MB / 1.029 GB, free: 14.3 MB / 0.8106 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/jenkins1/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