Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 189.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.537/2.537, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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=2500,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7649/0.7668, allocations: 160.8 MB / 1.218 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003417/0.7703, allocations: 2.069 MB / 1.22 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.7713, allocations: 0.5744 MB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.7714, allocations: 2.656 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.7715, allocations: 27.66 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.762e-05/0.7716, allocations: 27.69 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.7719, allocations: 86.77 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.7722, allocations: 224.2 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.7724, allocations: 88.16 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.7725, allocations: 94.81 kB / 1.222 GB, free: 1.379 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.7727, allocations: 101.4 kB / 1.222 GB, free: 1.301 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.7727, allocations: 25 kB / 1.222 GB, free: 1.301 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.114e-05/0.7728, allocations: 40.52 kB / 1.222 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.7729, allocations: 55.14 kB / 1.222 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.773, allocations: 101.5 kB / 1.222 GB, free: 1.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.7734, allocations: 282.3 kB / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7734, allocations: 0 / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7734, allocations: 0.9688 kB / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7734, allocations: 0 / 1.222 GB, free: 0.9453 MB / 0.92 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.0009036/0.7743, allocations: 0.5248 MB / 1.223 GB, free: 460 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.7744, allocations: 13.44 kB / 1.223 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.288e-05/0.7744, allocations: 25.58 kB / 1.223 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.7748, allocations: 260.5 kB / 1.223 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.7749, allocations: 11.75 kB / 1.223 GB, free: 164 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.7749, allocations: 19.78 kB / 1.223 GB, free: 156 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.7753, allocations: 237.1 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7754, allocations: 0 / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.7754, allocations: 5.906 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.7754, allocations: 4.188 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.7757, allocations: 148.2 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.7767, allocations: 0.5866 MB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.777, allocations: 115.7 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.7771, allocations: 50.44 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.7772, allocations: 6.234 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.7772, allocations: 32.94 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.7772, allocations: 0 / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004672/0.7777, allocations: 169.9 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.7778, allocations: 133.6 kB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.778, allocations: 222.2 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.7781, allocations: 31.86 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.7782, allocations: 148.3 kB / 1.225 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.7782, allocations: 31.7 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.7783, allocations: 38.55 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.7785, allocations: 327 kB / 1.225 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.7786, allocations: 44.09 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.7787, allocations: 93.83 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.7789, allocations: 88.94 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7789, allocations: 0 / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003212/0.7793, allocations: 158.1 kB / 1.226 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.7793, allocations: 9.594 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7793, allocations: 0 / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.7793, allocations: 2.156 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.7794, allocations: 20.08 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.7794, allocations: 1.188 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.7796, allocations: 38.08 kB / 1.226 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.7796, allocations: 2.906 kB / 1.226 GB, free: 13.99 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.0001404/0.7797, allocations: 144.6 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.7798, allocations: 16.66 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.7801, allocations: 147.1 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.7801, allocations: 5.406 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.7801, allocations: 0 / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7801, allocations: 1.719 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.7804, allocations: 271.3 kB / 1.226 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7804, allocations: 1.062 kB / 1.226 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.7805, allocations: 18.64 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7805, allocations: 1.156 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.7806, allocations: 12.89 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.7806, allocations: 4.406 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7806, allocations: 1.125 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.7809, allocations: 228 kB / 1.226 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.781, allocations: 101.3 kB / 1.227 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.781, allocations: 3.281 kB / 1.227 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.7812, allocations: 23.45 kB / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.7813, allocations: 28.14 kB / 1.227 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.7813, allocations: 6.297 kB / 1.227 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001354/0.7814, allocations: 149.8 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7814, allocations: 0 / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002955/0.7817, allocations: 40.92 kB / 1.227 GB, free: 13 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.0001488/0.7819, allocations: 114.3 kB / 1.227 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.7822, allocations: 109.8 kB / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7822, allocations: 0 / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.7823, allocations: 48.86 kB / 1.227 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.7826, allocations: 20.3 kB / 1.227 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.7832, allocations: 334 kB / 1.227 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.7836, allocations: 0.7283 MB / 1.228 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.734e-05/0.7837, allocations: 20.55 kB / 1.228 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.7838, allocations: 21.2 kB / 1.228 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.7838, allocations: 0 / 1.228 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of Templates: time 0.005744/0.7895, allocations: 2.247 MB / 1.23 GB, free: 10.72 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.279265676625073]