Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001317/0.001317, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001472/0.001472, allocations: 208.4 kB / 22.99 MB, free: 4.957 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: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.179/3.179, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002024/0.002024, allocations: 74.92 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3187, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004357/0.3231, allocations: 2.013 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3244, allocations: 0.6195 MB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3245, allocations: 0 / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.3246, allocations: 23.67 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.023e-05/0.3247, allocations: 43.59 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.3251, allocations: 95.83 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.3254, allocations: 236 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.3256, allocations: 83.98 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.3258, allocations: 103.6 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.3259, allocations: 103.5 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.326, allocations: 24 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.509e-05/0.3261, allocations: 31.98 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.3261, allocations: 55.83 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3262, allocations: 83.53 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.3266, allocations: 286.8 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3266, allocations: 4 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3266, allocations: 4 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.3266, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 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.0007986/0.3274, allocations: 469 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3274, allocations: 12.03 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.3277, allocations: 44.73 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.3281, allocations: 202.1 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3282, allocations: 16.38 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3282, allocations: 16.38 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.3287, allocations: 305.9 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3287, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.3287, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3287, allocations: 7.938 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.329, allocations: 139.9 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008856/0.3299, allocations: 475.6 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.3303, allocations: 114.7 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3304, allocations: 44.84 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3304, allocations: 4 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.3305, allocations: 30.56 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3305, allocations: 4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004664/0.3309, allocations: 169.7 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.331, allocations: 128.5 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3312, allocations: 203.1 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.3313, allocations: 29.7 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3314, allocations: 160.2 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.3314, allocations: 31.73 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.3315, allocations: 33.7 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3317, allocations: 330.8 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.3318, allocations: 47.97 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.332, allocations: 161.4 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.3322, allocations: 82.94 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3322, allocations: 4 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003405/0.3325, allocations: 158.5 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3326, allocations: 4 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3326, allocations: 0 / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3326, allocations: 0 / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3327, allocations: 23.92 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3327, allocations: 7.875 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.3329, allocations: 27.86 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.3329, allocations: 8 kB / 1.334 GB, free: 9.52 MB / 1.029 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.0001327/0.333, allocations: 134.4 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.3331, allocations: 16.28 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.3331, allocations: 21.39 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3331, allocations: 4 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3331, allocations: 3.938 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3331, allocations: 3.938 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.3334, allocations: 181.2 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3334, allocations: 0 / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.3335, allocations: 19.97 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3335, allocations: 3.984 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3335, allocations: 4 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3335, allocations: 0 / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3335, allocations: 4 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.3339, allocations: 231.3 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.3339, allocations: 11.91 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.3339, allocations: 0 / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.3341, allocations: 23.97 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.3342, allocations: 23.95 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3342, allocations: 11.94 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001254/0.3343, allocations: 140.5 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3343, allocations: 0 / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002726/0.3346, allocations: 39.83 kB / 1.335 GB, free: 8.602 MB / 1.029 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.0001262/0.3347, allocations: 107.2 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.335, allocations: 106.9 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.335, allocations: 0 / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3352, allocations: 55.98 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.3354, allocations: 21.89 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.3361, allocations: 333 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.3362, allocations: 133 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.985e-05/0.3363, allocations: 13.42 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.3364, allocations: 23.42 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3364, allocations: 0 / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of Templates: time 0.005765/0.3421, allocations: 2.292 MB / 1.338 GB, free: 5.523 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.66167858800327]