Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006013/0.006013, allocations: 102.3 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 200.5 kB / 16.68 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 469.8 MB / 0.7425 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 60.08 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3036, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.005391/0.309, allocations: 2.209 MB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3106, allocations: 0.5218 MB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.3108, allocations: 4 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.3111, allocations: 43.53 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.3113, allocations: 55.52 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.3118, allocations: 135.8 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005999/0.3124, allocations: 372.2 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.3128, allocations: 121.2 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.313, allocations: 135.4 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.3132, allocations: 127.4 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.03e-05/0.3133, allocations: 40 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.402e-05/0.3134, allocations: 43.94 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3135, allocations: 87.69 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.3137, allocations: 151.3 kB / 1.225 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007402/0.3144, allocations: 474.1 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3144, allocations: 7.875 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3144, allocations: 0 / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3144, allocations: 0 / 1.225 GB, free: 9.312 MB / 0.9825 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.001459/0.3159, allocations: 0.6206 MB / 1.226 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3159, allocations: 12.03 kB / 1.226 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.3161, allocations: 36.7 kB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007492/0.3168, allocations: 315.6 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.3168, allocations: 16.94 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.3169, allocations: 28.36 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/0.3179, allocations: 288.2 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3179, allocations: 3.938 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.3179, allocations: 15.98 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.3179, allocations: 4 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009537/0.3189, allocations: 206.1 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.3214, allocations: 0.986 MB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008923/0.3223, allocations: 263.9 kB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.3227, allocations: 104.1 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.3227, allocations: 0 / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.3228, allocations: 38.56 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.245e-06/0.3228, allocations: 0 / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.00133/0.3241, allocations: 257.3 kB / 1.228 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3241, allocations: 55.41 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.3246, allocations: 270.7 kB / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3247, allocations: 25.7 kB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.3249, allocations: 188.2 kB / 1.229 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/0.325, allocations: 63.52 kB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.3251, allocations: 45.7 kB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3253, allocations: 326.8 kB / 1.229 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.3258, allocations: 80.8 kB / 1.229 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.3262, allocations: 119.1 kB / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.3271, allocations: 198.4 kB / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3271, allocations: 0 / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001025/0.3281, allocations: 241.3 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3281, allocations: 9.875 kB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3281, allocations: 4.125 kB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.3282, allocations: 4 kB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.3286, allocations: 47.91 kB / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3286, allocations: 4 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.3289, allocations: 31.77 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.329, allocations: 4 kB / 1.23 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004917/0.3294, allocations: 180.1 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004066/0.3299, allocations: 121 kB / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007229/0.3306, allocations: 182.2 kB / 1.23 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/0.3306, allocations: 0 / 1.23 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000889/0.3315, allocations: 246.8 kB / 1.23 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3315, allocations: 4 kB / 1.23 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.3315, allocations: 4 kB / 1.23 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.3315, allocations: 8.062 kB / 1.23 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.3319, allocations: 43.91 kB / 1.23 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3319, allocations: 4 kB / 1.23 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.3322, allocations: 23.88 kB / 1.23 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.3322, allocations: 8 kB / 1.231 GB, free: 3.328 MB / 0.9825 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.0001939/0.3324, allocations: 192.7 kB / 1.231 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3325, allocations: 27.81 kB / 1.231 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.3335, allocations: 215.7 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3336, allocations: 0 / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3336, allocations: 7.984 kB / 1.231 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3336, allocations: 3.984 kB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.3353, allocations: 0.6292 MB / 1.232 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3353, allocations: 0 / 1.232 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.3357, allocations: 35.97 kB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.3357, allocations: 4 kB / 1.232 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.3358, allocations: 4 kB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.617e-06/0.3358, allocations: 7.922 kB / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3358, allocations: 0 / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3372, allocations: 399.1 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3374, allocations: 101 kB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.3374, allocations: 4 kB / 1.232 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.3378, allocations: 11.98 kB / 1.232 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.3378, allocations: 20.03 kB / 1.232 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.3379, allocations: 7.938 kB / 1.232 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00036/0.3382, allocations: 194 kB / 1.232 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3382, allocations: 0 / 1.232 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008336/0.3391, allocations: 83.78 kB / 1.232 GB, free: 1.305 MB / 0.9825 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.000176/0.3392, allocations: 107.2 kB / 1.232 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.3406, allocations: 265.6 kB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3406, allocations: 0 / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.341, allocations: 83.89 kB / 1.233 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.3417, allocations: 48.75 kB / 1.233 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3432, allocations: 483.1 kB / 1.233 GB, free: 324 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.3437, allocations: 0.7597 MB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002405/0.344, allocations: 25.94 kB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3441, allocations: 23.44 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/0.3441, allocations: 3.938 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.01115/0.3553, allocations: 2.35 MB / 1.236 GB, free: 13.15 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches