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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.006002/0.006002, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001324/0.001324, allocations: 193.6 kB / 16.79 MB, free: 6.254 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.417/1.417, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.763/2.763, allocations: 461.9 MB / 0.7348 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.97 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3271, allocations: 157.4 MB / 1.053 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00385/0.331, allocations: 2.085 MB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3323, allocations: 0.5648 MB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.3325, allocations: 4 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.3326, allocations: 11.86 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.3328, allocations: 27.72 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3332, allocations: 63.95 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.3335, allocations: 215.9 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.3337, allocations: 119.5 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.3339, allocations: 75.64 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3341, allocations: 91.53 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.3341, allocations: 12 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/0.3342, allocations: 20 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.3343, allocations: 47.81 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.3344, allocations: 91.41 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.3346, allocations: 203.8 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3346, allocations: 3.984 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3346, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.3347, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 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.0008536/0.3355, allocations: 0.5142 MB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3356, allocations: 11.97 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.3357, allocations: 28.66 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.336, allocations: 252.7 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.3361, allocations: 12.38 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.3361, allocations: 20.38 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.3365, allocations: 232.9 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3365, allocations: 4 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.3366, allocations: 8 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3366, allocations: 4 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.3369, allocations: 143.9 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.338, allocations: 0.5896 MB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.3384, allocations: 118.7 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.3386, allocations: 56.81 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.3386, allocations: 0 / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3387, allocations: 42.5 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.3387, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005903/0.3393, allocations: 169.6 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.3394, allocations: 136.8 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.3396, allocations: 212.3 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.3396, allocations: 33.7 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.3397, allocations: 140.2 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.3398, allocations: 43.47 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.3399, allocations: 33.7 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.34, allocations: 330.8 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3401, allocations: 47.97 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.3403, allocations: 88.2 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.3405, allocations: 85.69 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3405, allocations: 0 / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003555/0.3409, allocations: 160.3 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3409, allocations: 5.875 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3409, allocations: 0 / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3409, allocations: 0 / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.3411, allocations: 27.92 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3411, allocations: 0 / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3412, allocations: 31.84 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.3413, allocations: 4 kB / 1.06 GB, free: 0.7773 MB / 0.8106 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.0001464/0.3414, allocations: 129.8 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.3415, allocations: 19.81 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/0.3419, allocations: 146.9 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3419, allocations: 11.94 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3419, allocations: 0 / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3419, allocations: 0 / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.3422, allocations: 273.4 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3422, allocations: 0 / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.785e-05/0.3423, allocations: 15.98 kB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.3423, allocations: 0 / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3424, allocations: 3.984 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.3424, allocations: 7.938 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3424, allocations: 0 / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.3427, allocations: 235.4 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.3428, allocations: 93 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.3428, allocations: 11.94 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.343, allocations: 19.91 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.3431, allocations: 23.97 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3431, allocations: 7.984 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001196/0.3432, allocations: 155.3 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3432, allocations: 0 / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002765/0.3435, allocations: 39.84 kB / 1.061 GB, free: 15.5 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.0001804/0.3437, allocations: 107.2 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003735/0.3441, allocations: 115.9 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3441, allocations: 4.062 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.3443, allocations: 51.92 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.3447, allocations: 19.98 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.3454, allocations: 412.5 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3458, allocations: 0.7363 MB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.3459, allocations: 19.42 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.554e-06/0.3459, allocations: 0 / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.004975/0.3509, allocations: 2.374 MB / 1.065 GB, free: 11.62 MB / 0.8262 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