Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001379/0.001379, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.001626/0.001626, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.447/1.447, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.63/2.63, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002785/0.002785, allocations: 75.83 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3134, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003714/0.3172, allocations: 2.01 MB / 1.119 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3186, allocations: 0.6273 MB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.3187, allocations: 0 / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.3189, allocations: 27.66 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.319, allocations: 31.67 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.3194, allocations: 99.81 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.3197, allocations: 228 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.3199, allocations: 76.05 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.3202, allocations: 111.6 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.3203, allocations: 95.47 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.3204, allocations: 24 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.255e-05/0.3205, allocations: 32 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.131e-05/0.3206, allocations: 55.83 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3207, allocations: 83.53 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.3211, allocations: 282.8 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3211, allocations: 0 / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3211, allocations: 0 / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.3211, allocations: 3.938 kB / 1.121 GB, free: 14.73 MB / 1.076 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.0009089/0.322, allocations: 473.1 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3221, allocations: 12.03 kB / 1.122 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.3224, allocations: 48.72 kB / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.3229, allocations: 194.1 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3229, allocations: 12.38 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.3229, allocations: 16.38 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/0.3234, allocations: 306.2 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3234, allocations: 0 / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.3234, allocations: 12 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3234, allocations: 4 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.3238, allocations: 139.9 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000891/0.3247, allocations: 483.5 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.325, allocations: 114.7 kB / 1.123 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.3252, allocations: 44.83 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.3252, allocations: 4 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3252, allocations: 30.56 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3252, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0004685/0.3257, allocations: 169.7 kB / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.3258, allocations: 132.5 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.326, allocations: 197.2 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.326, allocations: 29.7 kB / 1.123 GB, free: 12.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.3261, allocations: 148.3 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.3262, allocations: 31.73 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.3262, allocations: 41.7 kB / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3264, allocations: 330.8 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3265, allocations: 47.97 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.3267, allocations: 165.3 kB / 1.124 GB, free: 11.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.3269, allocations: 85.06 kB / 1.124 GB, free: 11.28 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3269, allocations: 384 / 1.124 GB, free: 11.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000331/0.3273, allocations: 153.5 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3273, allocations: 4 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3273, allocations: 0 / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3273, allocations: 11.95 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3274, allocations: 16 kB / 1.124 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3274, allocations: 7.922 kB / 1.124 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.3276, allocations: 31.88 kB / 1.124 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3276, allocations: 4 kB / 1.124 GB, free: 11.05 MB / 1.076 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.0001392/0.3277, allocations: 137.8 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.3278, allocations: 15.91 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.3278, allocations: 21.47 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3278, allocations: 4 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3279, allocations: 7.938 kB / 1.125 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3279, allocations: 0 / 1.125 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.3281, allocations: 181.2 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3281, allocations: 0 / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3282, allocations: 15.98 kB / 1.125 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3282, allocations: 0 / 1.125 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3282, allocations: 7.984 kB / 1.125 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3282, allocations: 0 / 1.125 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3282, allocations: 0 / 1.125 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.3286, allocations: 231.3 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.3286, allocations: 19.83 kB / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.3286, allocations: 4 kB / 1.125 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.3288, allocations: 15.98 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/0.3289, allocations: 31.89 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3289, allocations: 11.92 kB / 1.125 GB, free: 10.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001221/0.329, allocations: 139.3 kB / 1.125 GB, free: 10.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.329, allocations: 0 / 1.125 GB, free: 10.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002879/0.3293, allocations: 47.84 kB / 1.125 GB, free: 10.11 MB / 1.076 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.0001511/0.3295, allocations: 103.2 kB / 1.125 GB, free: 10 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.3298, allocations: 111.9 kB / 1.126 GB, free: 9.895 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3298, allocations: 0 / 1.126 GB, free: 9.895 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.3299, allocations: 51.91 kB / 1.126 GB, free: 9.844 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.3302, allocations: 24.05 kB / 1.126 GB, free: 9.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006753/0.3309, allocations: 332.9 kB / 1.126 GB, free: 9.469 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.331, allocations: 117.1 kB / 1.126 GB, free: 9.332 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.318e-05/0.3311, allocations: 21.52 kB / 1.126 GB, free: 9.309 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.3312, allocations: 28.48 kB / 1.126 GB, free: 9.281 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.3312, allocations: 0 / 1.126 GB, free: 9.281 MB / 1.076 GB Notification: Performance of Templates: time 0.005612/0.3368, allocations: 2.122 MB / 1.128 GB, free: 7.203 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.20474481198471]