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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001261/0.001261, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001309/0.001309, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.534/2.534, allocations: 469.4 MB / 0.7426 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 68.27 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.334, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003261/0.3373, allocations: 2.031 MB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009603/0.3383, allocations: 0.5689 MB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.3384, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.3386, allocations: 27.67 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.3386, allocations: 31.66 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.339, allocations: 83.84 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.3392, allocations: 228 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.3394, allocations: 111.6 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3395, allocations: 91.58 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3397, allocations: 99.53 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.3397, allocations: 24 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.3398, allocations: 39.98 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.3399, allocations: 47.84 kB / 1.068 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.584e-05/0.34, allocations: 111.4 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.3402, allocations: 271.4 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3402, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3402, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3403, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 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.0007371/0.341, allocations: 0.5121 MB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.341, allocations: 12.62 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.3411, allocations: 32.59 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.3414, allocations: 260.6 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.3415, allocations: 16.38 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.3415, allocations: 20.31 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.3419, allocations: 225.1 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3419, allocations: 0 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.3419, allocations: 4 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3419, allocations: 4 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.3422, allocations: 143.9 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008617/0.3431, allocations: 0.5972 MB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.3435, allocations: 122.6 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3436, allocations: 48.89 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.3436, allocations: 12 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.3437, allocations: 30.56 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.3437, allocations: 0 / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.000447/0.3441, allocations: 173.5 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.3442, allocations: 136.5 kB / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.3444, allocations: 211 kB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3444, allocations: 29.7 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3445, allocations: 148.1 kB / 1.071 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3446, allocations: 27.64 kB / 1.071 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.3446, allocations: 33.7 kB / 1.071 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3448, allocations: 326.8 kB / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3449, allocations: 47.97 kB / 1.071 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.345, allocations: 96.2 kB / 1.071 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.3452, allocations: 91.94 kB / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3452, allocations: 0 / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002884/0.3455, allocations: 149.4 kB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3456, allocations: 8.031 kB / 1.071 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3456, allocations: 4.375 kB / 1.071 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3456, allocations: 0 / 1.071 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3457, allocations: 19.92 kB / 1.071 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.3457, allocations: 7.969 kB / 1.071 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.3459, allocations: 27.83 kB / 1.071 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.3459, allocations: 11.94 kB / 1.071 GB, free: 7.469 MB / 0.8419 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.000124/0.346, allocations: 139.7 kB / 1.071 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.3461, allocations: 15.81 kB / 1.071 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.3464, allocations: 146.9 kB / 1.072 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3464, allocations: 7.875 kB / 1.072 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3464, allocations: 0 / 1.072 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3464, allocations: 4 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.3467, allocations: 269.4 kB / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3467, allocations: 3.984 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.141e-05/0.3468, allocations: 16 kB / 1.072 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3468, allocations: 4 kB / 1.072 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3468, allocations: 7.984 kB / 1.072 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3468, allocations: 3.938 kB / 1.072 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3469, allocations: 0 / 1.072 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.3472, allocations: 227.2 kB / 1.072 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.3472, allocations: 88.92 kB / 1.072 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.3472, allocations: 12 kB / 1.072 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.3474, allocations: 27.91 kB / 1.072 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.3475, allocations: 19.97 kB / 1.072 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3475, allocations: 4 kB / 1.072 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001094/0.3476, allocations: 160.3 kB / 1.072 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3476, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002692/0.3479, allocations: 39.84 kB / 1.072 GB, free: 6.195 MB / 0.8419 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.0001612/0.3481, allocations: 112 kB / 1.073 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.3484, allocations: 123.8 kB / 1.073 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3484, allocations: 0 / 1.073 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3485, allocations: 47.92 kB / 1.073 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3489, allocations: 19.98 kB / 1.073 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.3495, allocations: 350.9 kB / 1.073 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.3498, allocations: 0.7358 MB / 1.074 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.3498, allocations: 19.42 kB / 1.074 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3499, allocations: 4 kB / 1.074 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of Templates: time 0.003973/0.3538, allocations: 2.379 MB / 1.076 GB, free: 2.359 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/jenkins1/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