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.004875/0.004875, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.001101/0.001101, allocations: 203.1 kB / 16.68 MB, free: 5.934 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.525/2.525, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 75.88 kB / 1.054 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8208/0.822, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003198/0.8252, allocations: 2.043 MB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.8263, allocations: 0.5649 MB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.8264, allocations: 4 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.8265, allocations: 27.72 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.768e-05/0.8266, allocations: 35.61 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.827, allocations: 83.84 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.8272, allocations: 224 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.8275, allocations: 107.5 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.8276, allocations: 103.6 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.8277, allocations: 103.5 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.8278, allocations: 24 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.149e-05/0.8279, allocations: 32 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.139e-05/0.828, allocations: 55.78 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.851e-05/0.8281, allocations: 107.5 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.8284, allocations: 274.8 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.8284, allocations: 0 / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8284, allocations: 0 / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8284, allocations: 4 kB / 1.211 GB, free: 9.82 MB / 0.9356 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.0007695/0.8292, allocations: 0.5199 MB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.8292, allocations: 8.031 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.856e-05/0.8293, allocations: 28.66 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.8296, allocations: 248.6 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.8296, allocations: 16.38 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.8297, allocations: 20.38 kB / 1.212 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.8301, allocations: 236.8 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.8301, allocations: 0 / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.8301, allocations: 8 kB / 1.212 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.8301, allocations: 4 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.8304, allocations: 143.9 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008552/0.8313, allocations: 0.5816 MB / 1.213 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.8316, allocations: 122.7 kB / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.8318, allocations: 48.84 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.8318, allocations: 7.984 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.8318, allocations: 38.69 kB / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.8319, allocations: 3.938 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.000426/0.8323, allocations: 173.4 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.8324, allocations: 136.8 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.8325, allocations: 203 kB / 1.214 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.8326, allocations: 37.69 kB / 1.214 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.8327, allocations: 144.1 kB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.8327, allocations: 31.58 kB / 1.214 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.8328, allocations: 33.7 kB / 1.214 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8329, allocations: 334.8 kB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.833, allocations: 43.98 kB / 1.214 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.8332, allocations: 84.27 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.8334, allocations: 97 kB / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8334, allocations: 0 / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002934/0.8337, allocations: 157.4 kB / 1.215 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.8337, allocations: 4 kB / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8337, allocations: 0 / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.8337, allocations: 7.938 kB / 1.215 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.8339, allocations: 23.92 kB / 1.215 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.8339, allocations: 0 / 1.215 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.834, allocations: 31.94 kB / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.834, allocations: 0 / 1.215 GB, free: 6.016 MB / 0.9356 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.0001189/0.8342, allocations: 137.8 kB / 1.215 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.8342, allocations: 19.72 kB / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.8345, allocations: 151 kB / 1.215 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.8346, allocations: 7.938 kB / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.8346, allocations: 0 / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8346, allocations: 0 / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.8349, allocations: 269.5 kB / 1.215 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8349, allocations: 3.938 kB / 1.215 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.924e-05/0.835, allocations: 15.98 kB / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.835, allocations: 0 / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.835, allocations: 0 / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.835, allocations: 7.938 kB / 1.215 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.835, allocations: 0 / 1.215 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.8353, allocations: 235.3 kB / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.8354, allocations: 92.95 kB / 1.216 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.8354, allocations: 15.92 kB / 1.216 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.8356, allocations: 19.92 kB / 1.216 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.8357, allocations: 27.98 kB / 1.216 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.8357, allocations: 8 kB / 1.216 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001192/0.8358, allocations: 148.6 kB / 1.216 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8358, allocations: 0 / 1.216 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002724/0.8361, allocations: 43.84 kB / 1.216 GB, free: 4.742 MB / 0.9356 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.0001727/0.8363, allocations: 111.2 kB / 1.216 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.8366, allocations: 103.9 kB / 1.216 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8367, allocations: 4.062 kB / 1.216 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.8368, allocations: 59.91 kB / 1.216 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.8372, allocations: 16 kB / 1.216 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.8377, allocations: 322.7 kB / 1.217 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.838, allocations: 0.7319 MB / 1.217 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.125e-05/0.8381, allocations: 13.42 kB / 1.217 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.8382, allocations: 31.42 kB / 1.217 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.8382, allocations: 0 / 1.217 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of Templates: time 0.005012/0.8432, allocations: 2.185 MB / 1.219 GB, free: 1.168 MB / 0.9356 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