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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007667/0.0007667, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001792, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006775/0.0006775, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008895/0.001567, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9258/0.9258, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09476/1.021, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.297/2.297, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2115/2.508, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.259e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002078/0.00209, allocations: 2.131 MB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.002839, allocations: 0.6581 MB / 0.8217 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/0.002915, allocations: 4 kB / 0.8217 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.368e-05/0.002979, allocations: 23.67 kB / 0.8217 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.328e-05/0.003032, allocations: 39.59 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.003208, allocations: 95.77 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.003375, allocations: 228 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.00351, allocations: 94.61 kB / 0.8221 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.003693, allocations: 175.3 kB / 0.8223 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.003781, allocations: 75.77 kB / 0.8224 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.003808, allocations: 20 kB / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.516e-05/0.003883, allocations: 28 kB / 0.8224 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.003926, allocations: 35.88 kB / 0.8225 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.003969, allocations: 55.81 kB / 0.8225 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.004144, allocations: 155.3 kB / 0.8227 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.004153, allocations: 0 / 0.8227 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.483e-06/0.004155, allocations: 3.984 kB / 0.8227 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.004165, allocations: 4 kB / 0.8227 GB, free: 14.65 MB / 0.8073 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.0004492/0.004614, allocations: 455.4 kB / 0.8231 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.00464, allocations: 8.031 kB / 0.8231 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.004862, allocations: 134 kB / 0.8232 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.005023, allocations: 185.3 kB / 0.8234 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.005036, allocations: 12.38 kB / 0.8234 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.005056, allocations: 20.38 kB / 0.8234 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.005254, allocations: 261.7 kB / 0.8237 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.00526, allocations: 4.188 kB / 0.8237 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.005272, allocations: 4.375 kB / 0.8237 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.005279, allocations: 11.94 kB / 0.8237 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.843e-05/0.005337, allocations: 38.81 kB / 0.8237 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.005735, allocations: 357 kB / 0.8241 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.005854, allocations: 62.47 kB / 0.8241 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.005881, allocations: 24.86 kB / 0.8242 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.005895, allocations: 0 / 0.8242 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.005914, allocations: 38.56 kB / 0.8242 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.005915, allocations: 0 / 0.8242 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001257/0.006041, allocations: 77.78 kB / 0.8243 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.006061, allocations: 51.41 kB / 0.8243 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.00615, allocations: 179.8 kB / 0.8245 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.006168, allocations: 37.69 kB / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.006223, allocations: 136.3 kB / 0.8247 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.006242, allocations: 31.73 kB / 0.8247 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.00628, allocations: 41.69 kB / 0.8247 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.006481, allocations: 338.7 kB / 0.8251 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.006501, allocations: 12 kB / 0.8251 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.569e-05/0.006557, allocations: 125.4 kB / 0.8252 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.006605, allocations: 46.61 kB / 0.8252 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006606, allocations: 0 / 0.8252 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.31e-05/0.00669, allocations: 89.59 kB / 0.8253 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.0067, allocations: 4 kB / 0.8253 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006704, allocations: 0 / 0.8253 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.006713, allocations: 48 / 0.8253 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.006774, allocations: 32 kB / 0.8254 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.006776, allocations: 0 / 0.8254 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.006813, allocations: 15.92 kB / 0.8254 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.006818, allocations: 0 / 0.8254 GB, free: 11.62 MB / 0.8073 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 6.531e-05/0.006883, allocations: 132.5 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.006903, allocations: 15.92 kB / 0.8255 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.006928, allocations: 17.47 kB / 0.8255 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.00693, allocations: 0 / 0.8255 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.006932, allocations: 3.984 kB / 0.8255 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006935, allocations: 8 kB / 0.8255 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.007044, allocations: 117.8 kB / 0.8257 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007045, allocations: 3.938 kB / 0.8257 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.00708, allocations: 16 kB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.007094, allocations: 19.83 kB / 0.8257 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.007095, allocations: 4 kB / 0.8257 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.0071, allocations: 0 / 0.8257 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.007101, allocations: 0 / 0.8257 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.007101, allocations: 0 / 0.8257 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.036e-05/0.007192, allocations: 171.4 kB / 0.8259 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.007208, allocations: 4 kB / 0.8259 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.007253, allocations: 16 kB / 0.8259 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.007299, allocations: 27.94 kB / 0.8259 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.007302, allocations: 0 / 0.8259 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.354e-05/0.007336, allocations: 50.44 kB / 0.826 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007336, allocations: 4 kB / 0.826 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001313/0.007467, allocations: 31.89 kB / 0.826 GB, free: 10.95 MB / 0.8073 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 6.422e-05/0.007531, allocations: 92.34 kB / 0.8261 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.029e-05/0.007622, allocations: 54.16 kB / 0.8261 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.00763, allocations: 11.98 kB / 0.8261 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.00767, allocations: 32.78 kB / 0.8262 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.007858, allocations: 158.9 kB / 0.8263 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.009058, allocations: 332.1 kB / 0.8266 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.137e-05/0.009099, allocations: 75.69 kB / 0.8267 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.616e-05/0.009145, allocations: 17.47 kB / 0.8267 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.043e-05/0.009236, allocations: 87.34 kB / 0.8268 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of SimCode: time 4.1e-07/0.009236, allocations: 4 kB / 0.8268 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.003404/0.01264, allocations: 2.212 MB / 0.829 GB, free: 7.875 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.941929576918483]