Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001069/0.001069, allocations: 108 kB / 15.6 MB, free: 132 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.001128/0.001128, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.73/2.73, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 62.78 kB / 0.9121 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3301, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003445/0.3336, allocations: 2.035 MB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.3347, allocations: 0.5728 MB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.3347, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.3349, allocations: 27.66 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.335, allocations: 31.62 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.3353, allocations: 83.89 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.3356, allocations: 224 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.3358, allocations: 116.9 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3359, allocations: 99.56 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3361, allocations: 99.53 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.3361, allocations: 24 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.376e-05/0.3362, allocations: 32 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.3363, allocations: 51.84 kB / 1.072 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3364, allocations: 115.4 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.3367, allocations: 259.4 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3367, allocations: 3.938 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3367, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.3367, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 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.0007518/0.3375, allocations: 0.5179 MB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3375, allocations: 8.031 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.3376, allocations: 32.66 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.3379, allocations: 256.6 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.338, allocations: 16.38 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.338, allocations: 16.38 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.3384, allocations: 225.1 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3384, allocations: 3.938 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.3384, allocations: 8 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3384, allocations: 7.938 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.3387, allocations: 147.7 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008813/0.3396, allocations: 0.5974 MB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.3401, allocations: 114.7 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3402, allocations: 52.84 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.3402, allocations: 4 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.3403, allocations: 30.56 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.3403, allocations: 0 / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004472/0.3407, allocations: 173.5 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.3408, allocations: 136.5 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.341, allocations: 207.6 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.3411, allocations: 33.7 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.3412, allocations: 148.1 kB / 1.075 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3412, allocations: 27.64 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.3413, allocations: 37.7 kB / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3414, allocations: 326.8 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3415, allocations: 47.92 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3417, allocations: 92.27 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.3419, allocations: 89.31 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3419, allocations: 4 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002948/0.3422, allocations: 161.3 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3422, allocations: 6.031 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3422, allocations: 0 / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3423, allocations: 4 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3424, allocations: 19.92 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3424, allocations: 3.938 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.3425, allocations: 15.98 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.3426, allocations: 11.98 kB / 1.075 GB, free: 2.777 MB / 0.8262 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.0001305/0.3427, allocations: 133.9 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.3427, allocations: 23.72 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.3431, allocations: 150.9 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3431, allocations: 3.938 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3431, allocations: 0 / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3431, allocations: 0 / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.3434, allocations: 265.5 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3434, allocations: 12.41 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.493e-05/0.3435, allocations: 15.98 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3435, allocations: 0 / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3435, allocations: 4 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3435, allocations: 7.938 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3436, allocations: 7.875 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.3439, allocations: 223.3 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.3439, allocations: 92.92 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.3439, allocations: 4 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.3441, allocations: 27.91 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.3442, allocations: 23.91 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.3442, allocations: 7.984 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001176/0.3443, allocations: 152.2 kB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3443, allocations: 0 / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002733/0.3446, allocations: 43.84 kB / 1.076 GB, free: 1.504 MB / 0.8262 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.0001884/0.3448, allocations: 119.8 kB / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003276/0.3451, allocations: 111.9 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3452, allocations: 0 / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.3453, allocations: 51.92 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.3457, allocations: 27.42 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006317/0.3463, allocations: 325 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3466, allocations: 0.7322 MB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.779e-05/0.3467, allocations: 21.39 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.3468, allocations: 23.42 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3468, allocations: 3.938 kB / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of Templates: time 0.00551/0.3523, allocations: 2.156 MB / 1.08 GB, free: 13.93 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches