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.00138/0.00138, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001615/0.001615, allocations: 219.1 kB / 23 MB, free: 4.914 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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 3.266/3.266, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 71.31 kB / 1.187 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3778, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003622/0.3815, allocations: 2.014 MB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3827, allocations: 0.6195 MB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.847e-05/0.3828, allocations: 7.938 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.3829, allocations: 19.73 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.991e-05/0.383, allocations: 43.59 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.3834, allocations: 91.83 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.3837, allocations: 232 kB / 1.368 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.3839, allocations: 85.06 kB / 1.368 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.3841, allocations: 99.58 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.3842, allocations: 91.53 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.3843, allocations: 24 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.3843, allocations: 39.94 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.551e-05/0.3844, allocations: 59.77 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.324e-05/0.3845, allocations: 83.59 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.3849, allocations: 278.8 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3849, allocations: 3.984 kB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3849, allocations: 0 / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3849, allocations: 0 / 1.368 GB, free: 9.805 MB / 1.061 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.0008276/0.3857, allocations: 469.1 kB / 1.369 GB, free: 9.316 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3857, allocations: 12.03 kB / 1.369 GB, free: 9.305 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.386, allocations: 44.77 kB / 1.369 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.3865, allocations: 198.1 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3865, allocations: 16.31 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.3865, allocations: 16.38 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.387, allocations: 310 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.387, allocations: 0 / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.3871, allocations: 8 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3871, allocations: 4 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.3874, allocations: 143.7 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009006/0.3883, allocations: 475.7 kB / 1.37 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.3886, allocations: 118.7 kB / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.3888, allocations: 48.83 kB / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3888, allocations: 0 / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.3888, allocations: 34.56 kB / 1.37 GB, free: 7.805 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 3.156e-06/0.3888, allocations: 3.984 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.000471/0.3893, allocations: 165.6 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.3894, allocations: 132.5 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.3896, allocations: 206.5 kB / 1.371 GB, free: 7.262 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.3896, allocations: 29.7 kB / 1.371 GB, free: 7.227 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3898, allocations: 148.4 kB / 1.371 GB, free: 7.078 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.3898, allocations: 35.72 kB / 1.371 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.3899, allocations: 33.7 kB / 1.371 GB, free: 7.004 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.39, allocations: 330.8 kB / 1.371 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.3901, allocations: 43.98 kB / 1.371 GB, free: 6.629 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.3903, allocations: 161.4 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.3905, allocations: 96.5 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3906, allocations: 0 / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003052/0.3909, allocations: 149.5 kB / 1.372 GB, free: 6.188 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3909, allocations: 4 kB / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3909, allocations: 3.984 kB / 1.372 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3909, allocations: 4 kB / 1.372 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.391, allocations: 19.98 kB / 1.372 GB, free: 6.156 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.391, allocations: 3.938 kB / 1.372 GB, free: 6.152 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.3912, allocations: 27.91 kB / 1.372 GB, free: 6.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3912, allocations: 4 kB / 1.372 GB, free: 6.121 MB / 1.061 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.0001388/0.3913, allocations: 141.8 kB / 1.372 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.3913, allocations: 15.91 kB / 1.372 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.3914, allocations: 17.41 kB / 1.372 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.3914, allocations: 4 kB / 1.372 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3914, allocations: 3.938 kB / 1.372 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3914, allocations: 7.984 kB / 1.372 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.3917, allocations: 177.2 kB / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3917, allocations: 0 / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3918, allocations: 19.98 kB / 1.372 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3918, allocations: 0 / 1.372 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3918, allocations: 3.984 kB / 1.372 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3918, allocations: 7.938 kB / 1.372 GB, free: 5.688 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3918, allocations: 0 / 1.372 GB, free: 5.688 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.3921, allocations: 223.7 kB / 1.372 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.3922, allocations: 19.98 kB / 1.372 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.3922, allocations: 11.94 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3923, allocations: 15.98 kB / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.3924, allocations: 27.95 kB / 1.372 GB, free: 5.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3924, allocations: 7.922 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001297/0.3926, allocations: 140.2 kB / 1.372 GB, free: 5.234 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3926, allocations: 0 / 1.372 GB, free: 5.234 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002679/0.3928, allocations: 47.77 kB / 1.372 GB, free: 5.188 MB / 1.061 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.0001418/0.393, allocations: 107.2 kB / 1.373 GB, free: 5.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.3933, allocations: 103.9 kB / 1.373 GB, free: 4.969 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3933, allocations: 0 / 1.373 GB, free: 4.969 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.3934, allocations: 51.91 kB / 1.373 GB, free: 4.918 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3937, allocations: 16 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.3944, allocations: 362.7 kB / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.3945, allocations: 129.1 kB / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.3946, allocations: 15.44 kB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3946, allocations: 0 / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of Templates: time 0.004361/0.3989, allocations: 2.346 MB / 1.376 GB, free: 2.02 MB / 1.061 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/jenkins1/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: 11.493063384667039]