Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.001308/0.001308, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001557/0.001557, allocations: 195.4 kB / 22.11 MB, free: 5.152 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.424/1.424, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.17/3.17, allocations: 495.8 MB / 0.783 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 69.56 kB / 1.137 GB, free: 33.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3211, allocations: 173.6 MB / 1.307 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003676/0.3247, allocations: 2.216 MB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3258, allocations: 0.5297 MB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.326, allocations: 7.938 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.3261, allocations: 43.53 kB / 1.309 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.3263, allocations: 63.45 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.3266, allocations: 139.7 kB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.327, allocations: 368.2 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.3273, allocations: 121.6 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.3275, allocations: 131.4 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.3277, allocations: 139.3 kB / 1.31 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.3277, allocations: 40 kB / 1.31 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.237e-05/0.3278, allocations: 40 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.3278, allocations: 79.7 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.328, allocations: 163.2 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005892/0.3286, allocations: 478.1 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3286, allocations: 0 / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3286, allocations: 0 / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.3286, allocations: 0 / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0011/0.3297, allocations: 0.5722 MB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3297, allocations: 8.031 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.3298, allocations: 40.7 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.3303, allocations: 253.7 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.3304, allocations: 16.88 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.3304, allocations: 28.33 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.331, allocations: 287.2 kB / 1.312 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3311, allocations: 3.938 kB / 1.312 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.3311, allocations: 12 kB / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3311, allocations: 8 kB / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.3317, allocations: 201.9 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.3332, allocations: 0.9394 MB / 1.313 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.3337, allocations: 194.8 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.334, allocations: 93.81 kB / 1.314 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.334, allocations: 0 / 1.314 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.334, allocations: 38.55 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.334, allocations: 0 / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0007876/0.3348, allocations: 258.6 kB / 1.314 GB, free: 10.24 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3349, allocations: 59.34 kB / 1.314 GB, free: 10.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.3352, allocations: 273.9 kB / 1.314 GB, free: 9.898 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.3352, allocations: 29.7 kB / 1.314 GB, free: 9.863 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3354, allocations: 180.3 kB / 1.315 GB, free: 9.684 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.3354, allocations: 63.48 kB / 1.315 GB, free: 9.621 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.3355, allocations: 41.7 kB / 1.315 GB, free: 9.574 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3357, allocations: 334.8 kB / 1.315 GB, free: 9.238 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.3359, allocations: 76.81 kB / 1.315 GB, free: 9.16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.3362, allocations: 125 kB / 1.315 GB, free: 9.023 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.3367, allocations: 190.5 kB / 1.315 GB, free: 8.824 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3367, allocations: 7.938 kB / 1.315 GB, free: 8.816 MB / 1.014 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006186/0.3373, allocations: 253.2 kB / 1.316 GB, free: 8.562 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3373, allocations: 9.094 kB / 1.316 GB, free: 8.555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3373, allocations: 0 / 1.316 GB, free: 8.555 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3373, allocations: 8.125 kB / 1.316 GB, free: 8.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.3376, allocations: 43.91 kB / 1.316 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3376, allocations: 0 / 1.316 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.3378, allocations: 31.81 kB / 1.316 GB, free: 8.473 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3378, allocations: 4 kB / 1.316 GB, free: 8.469 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002957/0.3381, allocations: 180.1 kB / 1.316 GB, free: 8.289 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002318/0.3383, allocations: 121 kB / 1.316 GB, free: 8.152 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004075/0.3387, allocations: 187.1 kB / 1.316 GB, free: 7.957 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.3387, allocations: 0 / 1.316 GB, free: 7.957 MB / 1.014 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005191/0.3392, allocations: 245.2 kB / 1.316 GB, free: 7.711 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.3392, allocations: 4 kB / 1.316 GB, free: 7.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/0.3392, allocations: 0 / 1.316 GB, free: 7.707 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.3393, allocations: 4 kB / 1.316 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.3395, allocations: 52.03 kB / 1.316 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.3395, allocations: 0 / 1.316 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.3396, allocations: 19.95 kB / 1.316 GB, free: 7.633 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3396, allocations: 7.984 kB / 1.316 GB, free: 7.625 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.000128/0.3397, allocations: 196.1 kB / 1.317 GB, free: 7.426 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.3398, allocations: 23.86 kB / 1.317 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/0.3404, allocations: 221 kB / 1.317 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.3404, allocations: 0 / 1.317 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3404, allocations: 0 / 1.317 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3404, allocations: 7.984 kB / 1.317 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.3414, allocations: 0.5871 MB / 1.317 GB, free: 6.535 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3415, allocations: 4 kB / 1.317 GB, free: 6.531 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.3417, allocations: 36.03 kB / 1.317 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3417, allocations: 4 kB / 1.317 GB, free: 6.492 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.3417, allocations: 4 kB / 1.317 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3417, allocations: 0 / 1.317 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3417, allocations: 0 / 1.317 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/0.3425, allocations: 401.6 kB / 1.318 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.3426, allocations: 39.66 kB / 1.318 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.3426, allocations: 11.94 kB / 1.318 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3428, allocations: 7.984 kB / 1.318 GB, free: 6.023 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.3428, allocations: 15.97 kB / 1.318 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3428, allocations: 12 kB / 1.318 GB, free: 5.996 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002062/0.343, allocations: 193.2 kB / 1.318 GB, free: 5.809 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.343, allocations: 0 / 1.318 GB, free: 5.809 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004108/0.3435, allocations: 83.78 kB / 1.318 GB, free: 5.727 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001311/0.3436, allocations: 108 kB / 1.318 GB, free: 5.613 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007578/0.3443, allocations: 269.5 kB / 1.319 GB, free: 5.352 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3443, allocations: 0 / 1.319 GB, free: 5.352 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.3446, allocations: 79.89 kB / 1.319 GB, free: 5.273 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.345, allocations: 43.75 kB / 1.319 GB, free: 5.234 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009768/0.346, allocations: 479.1 kB / 1.319 GB, free: 4.742 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.3464, allocations: 0.7635 MB / 1.32 GB, free: 3.953 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.3465, allocations: 25.94 kB / 1.32 GB, free: 3.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.3466, allocations: 23.44 kB / 1.32 GB, free: 3.906 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.3466, allocations: 0 / 1.32 GB, free: 3.906 MB / 1.014 GB Notification: Performance of Templates: time 0.006565/0.3531, allocations: 2.448 MB / 1.322 GB, free: 1.48 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.760201514698565]