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.001485/0.001485, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001646/0.001646, allocations: 166.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.478/1.478, allocations: 177.2 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.963/2.963, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.773e-06/1.773e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.218e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004336/0.004368, allocations: 2.007 MB / 1.002 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.006275, allocations: 0.6233 MB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.006541, allocations: 4 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.00676, allocations: 23.67 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.006924, allocations: 39.59 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.007559, allocations: 103.7 kB / 1.003 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.008071, allocations: 236 kB / 1.003 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.008341, allocations: 84.02 kB / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.008706, allocations: 131.8 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.008862, allocations: 71.72 kB / 1.003 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.853e-05/0.008921, allocations: 24 kB / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.009045, allocations: 43.91 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.461e-05/0.00913, allocations: 51.83 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.009245, allocations: 75.77 kB / 1.004 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.009714, allocations: 291 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.009719, allocations: 0 / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.743e-06/0.009721, allocations: 0 / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.009733, allocations: 0 / 1.004 GB, free: 3.461 MB / 0.9512 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.001042/0.01077, allocations: 461.1 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.01082, allocations: 12.03 kB / 1.004 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003464/0.01116, allocations: 48.77 kB / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.01162, allocations: 209.7 kB / 1.005 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.01165, allocations: 16.38 kB / 1.005 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.01168, allocations: 16.38 kB / 1.005 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.01219, allocations: 306.2 kB / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.0122, allocations: 192 / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.01223, allocations: 4.375 kB / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.01224, allocations: 7.938 kB / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.01259, allocations: 147.7 kB / 1.005 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009907/0.01358, allocations: 471.8 kB / 1.005 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.01398, allocations: 110.7 kB / 1.006 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.01412, allocations: 56.77 kB / 1.006 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.01414, allocations: 0 / 1.006 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.01418, allocations: 34.56 kB / 1.006 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.01418, allocations: 0 / 1.006 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0005063/0.01469, allocations: 161.7 kB / 1.006 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.0148, allocations: 140.5 kB / 1.006 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.01502, allocations: 190.7 kB / 1.006 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.01506, allocations: 33.7 kB / 1.006 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.0152, allocations: 148.3 kB / 1.006 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.01523, allocations: 35.77 kB / 1.006 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.01531, allocations: 37.66 kB / 1.006 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.01548, allocations: 334.8 kB / 1.007 GB, free: 332 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.01563, allocations: 47.98 kB / 1.007 GB, free: 284 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.01584, allocations: 161.4 kB / 1.007 GB, free: 88 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.01607, allocations: 82.56 kB / 1.007 GB, free: 0 / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.01608, allocations: 112 / 1.007 GB, free: 16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003623/0.01644, allocations: 155.9 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.01646, allocations: 4 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.01647, allocations: 3.984 kB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.01649, allocations: 4 kB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.01661, allocations: 23.92 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.01662, allocations: 3.828 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.0168, allocations: 19.92 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.01681, allocations: 8.031 kB / 1.007 GB, free: 15.78 MB / 0.9669 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.0001597/0.01697, allocations: 142.3 kB / 1.007 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.01703, allocations: 15.91 kB / 1.007 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.01709, allocations: 17.47 kB / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.01709, allocations: 4 kB / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.0171, allocations: 0 / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.0171, allocations: 8.016 kB / 1.007 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.01737, allocations: 181.2 kB / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01737, allocations: 0 / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.01749, allocations: 28.3 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01749, allocations: 0 / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.0175, allocations: 3.984 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.01751, allocations: 4 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01751, allocations: 3.938 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.01789, allocations: 223.3 kB / 1.008 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.01792, allocations: 15.89 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.01795, allocations: 8 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.01813, allocations: 19.98 kB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.01822, allocations: 27.95 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.01823, allocations: 3.984 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001456/0.01837, allocations: 138.7 kB / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01837, allocations: 0 / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003004/0.01867, allocations: 43.83 kB / 1.008 GB, free: 14.85 MB / 0.9669 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.0001455/0.01882, allocations: 103.2 kB / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003642/0.01918, allocations: 111.9 kB / 1.008 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.01919, allocations: 0 / 1.008 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.01933, allocations: 51.91 kB / 1.008 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.01965, allocations: 23.88 kB / 1.008 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007296/0.02038, allocations: 322.4 kB / 1.009 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.02055, allocations: 125.4 kB / 1.009 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.598e-05/0.02063, allocations: 17.47 kB / 1.009 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.0207, allocations: 20.5 kB / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.02071, allocations: 3.938 kB / 1.009 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of Templates: time 0.006328/0.02703, allocations: 2.125 MB / 1.011 GB, free: 11.98 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.351336471736431]