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.001496/0.001496, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001666/0.001666, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 8.035 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 2.977/2.977, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] 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.002044/0.002044, allocations: 69.98 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 180.2 MB / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003185/0.3158, allocations: 2.092 MB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3169, allocations: 0.659 MB / 1.357 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.891e-05/0.317, allocations: 4 kB / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.3171, allocations: 31.66 kB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.3172, allocations: 35.61 kB / 1.357 GB, free: 5.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.3175, allocations: 95.81 kB / 1.357 GB, free: 4.977 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.3178, allocations: 232 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.318, allocations: 88.62 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.3181, allocations: 95.64 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.3183, allocations: 103.5 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.3183, allocations: 28 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.754e-05/0.3184, allocations: 43.98 kB / 1.358 GB, free: 4.395 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.3185, allocations: 55.72 kB / 1.358 GB, free: 4.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.726e-05/0.3186, allocations: 107.5 kB / 1.358 GB, free: 4.234 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.3189, allocations: 282.8 kB / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3189, allocations: 0 / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3189, allocations: 0 / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.3189, allocations: 0 / 1.358 GB, free: 3.957 MB / 1.045 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.0007393/0.3197, allocations: 469.1 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.3197, allocations: 8.031 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.32, allocations: 52.72 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3203, allocations: 194.1 kB / 1.359 GB, free: 3.195 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3203, allocations: 12.38 kB / 1.359 GB, free: 3.184 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.3204, allocations: 24.31 kB / 1.359 GB, free: 3.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.3208, allocations: 233 kB / 1.359 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3208, allocations: 0 / 1.359 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3208, allocations: 4 kB / 1.359 GB, free: 2.91 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3208, allocations: 8 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.3211, allocations: 143.7 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008949/0.322, allocations: 0.5498 MB / 1.36 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.3223, allocations: 118.7 kB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3224, allocations: 48.83 kB / 1.36 GB, free: 1.992 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3225, allocations: 0 / 1.36 GB, free: 1.992 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3225, allocations: 38.69 kB / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.3225, allocations: 0 / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0004241/0.3229, allocations: 169.4 kB / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.323, allocations: 140.4 kB / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.3232, allocations: 211.9 kB / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3232, allocations: 33.7 kB / 1.36 GB, free: 1.352 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3233, allocations: 148.3 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.3234, allocations: 31.73 kB / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.3234, allocations: 33.7 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3236, allocations: 326.8 kB / 1.361 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3237, allocations: 51.97 kB / 1.361 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3238, allocations: 91.64 kB / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.324, allocations: 85.62 kB / 1.361 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.324, allocations: 4 kB / 1.361 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000291/0.3243, allocations: 149.6 kB / 1.361 GB, free: 416 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3243, allocations: 4 kB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3243, allocations: 0 / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3243, allocations: 4 kB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3245, allocations: 23.86 kB / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3245, allocations: 384 / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3246, allocations: 35.89 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3246, allocations: 0 / 1.361 GB, free: 348 kB / 1.045 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.0001231/0.3247, allocations: 140 kB / 1.361 GB, free: 200 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.3248, allocations: 31.78 kB / 1.361 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.3248, allocations: 21.34 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3248, allocations: 3.938 kB / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3248, allocations: 0 / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3248, allocations: 48 / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.3251, allocations: 248.7 kB / 1.362 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3251, allocations: 11.94 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.3252, allocations: 11.98 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3252, allocations: 0 / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.3252, allocations: 7.984 kB / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3252, allocations: 3.938 kB / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3252, allocations: 0 / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.3255, allocations: 235.3 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.3256, allocations: 11.91 kB / 1.362 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.3256, allocations: 8 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.3257, allocations: 23.91 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.3258, allocations: 23.95 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.3258, allocations: 8 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001312/0.326, allocations: 148.6 kB / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.326, allocations: 0 / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002599/0.3262, allocations: 39.89 kB / 1.362 GB, free: 15.31 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.0001272/0.3263, allocations: 111.2 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.3266, allocations: 103.9 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3266, allocations: 0 / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3268, allocations: 48.02 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.327, allocations: 30.72 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.3277, allocations: 370.5 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.328, allocations: 0.732 MB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.3281, allocations: 23.42 kB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3281, allocations: 0 / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of Templates: time 0.004046/0.3321, allocations: 2.349 MB / 1.366 GB, free: 11.5 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: 10.470349770010216]