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.001117/0.001117, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001438/0.001438, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.674/2.674, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 9.844 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2458, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001947/0.2478, allocations: 1.692 MB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.2486, allocations: 0.5339 MB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.2487, allocations: 4 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.509e-05/0.2488, allocations: 15.8 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.2489, allocations: 23.8 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.2491, allocations: 55.92 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.2493, allocations: 204 kB / 1.06 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.2495, allocations: 90.11 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.2496, allocations: 59.7 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.2497, allocations: 75.55 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.2497, allocations: 4 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.709e-05/0.2498, allocations: 12 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.2498, allocations: 27.84 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.2499, allocations: 57.58 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.2501, allocations: 199.8 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2501, allocations: 4 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2501, allocations: 0 / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2501, allocations: 0 / 1.061 GB, free: 2.23 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.0006268/0.2508, allocations: 498.6 kB / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.2508, allocations: 8.031 kB / 1.061 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.2508, allocations: 23.72 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.2511, allocations: 259.3 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.2512, allocations: 15.95 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.2512, allocations: 20 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.2516, allocations: 236.4 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2516, allocations: 0 / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.2516, allocations: 4 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2516, allocations: 8 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.2519, allocations: 147.9 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.2528, allocations: 0.5974 MB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.2531, allocations: 130.7 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.2533, allocations: 48.78 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.2533, allocations: 4 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.2533, allocations: 38.56 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.2533, allocations: 0 / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004391/0.2538, allocations: 181.6 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.2539, allocations: 140.4 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.2541, allocations: 208.4 kB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.2541, allocations: 33.7 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.2542, allocations: 148 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.2542, allocations: 27.64 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.2542, allocations: 4 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.2543, allocations: 330.8 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2544, allocations: 51.98 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.2546, allocations: 84.27 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2547, allocations: 43.98 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2547, allocations: 4 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002959/0.255, allocations: 161.3 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.255, allocations: 11.98 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2551, allocations: 0 / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.2551, allocations: 0 / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.2552, allocations: 28.02 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2552, allocations: 3.938 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.2553, allocations: 27.98 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.2554, allocations: 7.984 kB / 1.064 GB, free: 14.49 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 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.2555, allocations: 141.8 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.2555, allocations: 23.72 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.2559, allocations: 147.3 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2559, allocations: 4 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2559, allocations: 3.938 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.2559, allocations: 7.984 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.2562, allocations: 277.5 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2562, allocations: 3.938 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.2563, allocations: 15.98 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2563, allocations: 0 / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2563, allocations: 4 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2563, allocations: 4 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2563, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.2566, allocations: 243.2 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.2567, allocations: 88.92 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.2567, allocations: 8 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.2569, allocations: 27.97 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.257, allocations: 31.89 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.257, allocations: 4 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001141/0.2571, allocations: 155.3 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2571, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002763/0.2574, allocations: 35.84 kB / 1.066 GB, free: 13.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000131/0.2575, allocations: 111.2 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.2578, allocations: 118.3 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2578, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.258, allocations: 59.91 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.2583, allocations: 24.3 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.2589, allocations: 388.4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.2591, allocations: 0.7283 MB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.85e-05/0.2592, allocations: 21.41 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.2593, allocations: 15.44 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2593, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.004455/0.2637, allocations: 1.821 MB / 1.069 GB, free: 9.898 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/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