Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 443.5 MB / 0.7293 GB, free: 14.67 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 1.057 GB, free: 2.078 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3333, allocations: 160.7 MB / 1.214 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003482/0.3368, allocations: 2.049 MB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3379, allocations: 0.5766 MB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.842e-05/0.338, allocations: 0 / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.3381, allocations: 23.67 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.844e-05/0.3382, allocations: 39.66 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.3385, allocations: 87.83 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.3388, allocations: 220 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.339, allocations: 83.62 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3391, allocations: 99.69 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.3393, allocations: 99.47 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.3393, allocations: 24 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.3394, allocations: 32 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.3395, allocations: 55.78 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.3396, allocations: 111.4 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.3399, allocations: 282.8 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3399, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3399, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.34, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 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.0008414/0.3408, allocations: 0.5217 MB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3408, allocations: 8.031 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.3409, allocations: 28.8 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.3413, allocations: 256.8 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.3413, allocations: 12.38 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.3413, allocations: 20.38 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.3417, allocations: 228.9 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3417, allocations: 0 / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.3418, allocations: 12 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3418, allocations: 4 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.3421, allocations: 147.6 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.3431, allocations: 0.5858 MB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.3435, allocations: 118.6 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.3436, allocations: 48.91 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.3436, allocations: 0 / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.3437, allocations: 42.55 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.3437, allocations: 0 / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004834/0.3442, allocations: 169.7 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.3442, allocations: 132.5 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3444, allocations: 215 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.3445, allocations: 33.7 kB / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3446, allocations: 144.3 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.3446, allocations: 35.73 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.3447, allocations: 37.7 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3448, allocations: 330.8 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.345, allocations: 43.98 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.3451, allocations: 84.27 kB / 1.221 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.3453, allocations: 93.62 kB / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3453, allocations: 0 / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003281/0.3457, allocations: 169.3 kB / 1.221 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3457, allocations: 6.188 kB / 1.221 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3457, allocations: 0 / 1.221 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3457, allocations: 0 / 1.221 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3458, allocations: 27.95 kB / 1.221 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3458, allocations: 0 / 1.221 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.346, allocations: 23.88 kB / 1.221 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.346, allocations: 11.98 kB / 1.221 GB, free: 9.441 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.0001381/0.3461, allocations: 133.8 kB / 1.221 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.3462, allocations: 15.91 kB / 1.221 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.3465, allocations: 155.3 kB / 1.221 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3465, allocations: 7.938 kB / 1.221 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3465, allocations: 4 kB / 1.221 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3465, allocations: 0 / 1.221 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.3468, allocations: 265.5 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3468, allocations: 0 / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-05/0.3469, allocations: 15.98 kB / 1.222 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3469, allocations: 0 / 1.222 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.347, allocations: 0 / 1.222 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.347, allocations: 7.938 kB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.347, allocations: 0 / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.3473, allocations: 235.3 kB / 1.222 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.3474, allocations: 96.95 kB / 1.222 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.3474, allocations: 4 kB / 1.222 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.3476, allocations: 23.91 kB / 1.222 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.3476, allocations: 27.97 kB / 1.222 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.3477, allocations: 7.984 kB / 1.222 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001336/0.3478, allocations: 145 kB / 1.222 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3478, allocations: 3.938 kB / 1.222 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002737/0.3481, allocations: 39.89 kB / 1.222 GB, free: 8.18 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.0001878/0.3483, allocations: 123.2 kB / 1.222 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.3486, allocations: 107.9 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3486, allocations: 0 / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.3487, allocations: 47.98 kB / 1.223 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3491, allocations: 24.3 kB / 1.223 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.3497, allocations: 354.3 kB / 1.223 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.3501, allocations: 0.732 MB / 1.224 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.3502, allocations: 27.42 kB / 1.224 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3502, allocations: 0 / 1.224 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of Templates: time 0.004733/0.3549, allocations: 2.388 MB / 1.226 GB, free: 4.324 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.632801113883033]