Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001688/0.001688, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001957/0.001958, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.416/1.416, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.19 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3183, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.004368/0.3227, allocations: 2.213 MB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3239, allocations: 0.5297 MB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.3241, allocations: 7.938 kB / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.3243, allocations: 43.53 kB / 0.953 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.3245, allocations: 43.55 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.3248, allocations: 135.8 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.3253, allocations: 364.2 kB / 0.9535 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003273/0.3256, allocations: 181.1 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.3258, allocations: 127.5 kB / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.326, allocations: 139.2 kB / 0.954 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.137e-05/0.3261, allocations: 44 kB / 0.954 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.1e-05/0.3261, allocations: 40 kB / 0.954 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.3262, allocations: 79.77 kB / 0.9541 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.3264, allocations: 155.1 kB / 0.9543 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.3268, allocations: 462.8 kB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3268, allocations: 3.984 kB / 0.9547 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3268, allocations: 0 / 0.9547 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.3269, allocations: 0 / 0.9547 GB, free: 4.328 MB / 0.7325 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.001085/0.3279, allocations: 0.6003 MB / 0.9553 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.328, allocations: 8.031 kB / 0.9553 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.3281, allocations: 44.45 kB / 0.9553 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.3285, allocations: 311.3 kB / 0.9556 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.3286, allocations: 16.94 kB / 0.9557 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.3286, allocations: 24.38 kB / 0.9557 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.3292, allocations: 292.2 kB / 0.956 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3292, allocations: 3.938 kB / 0.956 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.3293, allocations: 12 kB / 0.956 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3293, allocations: 4 kB / 0.956 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.3298, allocations: 206.1 kB / 0.9562 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.3313, allocations: 0.9858 MB / 0.9571 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.3318, allocations: 271.9 kB / 0.9574 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.3321, allocations: 115.6 kB / 0.9575 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.3321, allocations: 3.984 kB / 0.9575 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3321, allocations: 42.5 kB / 0.9575 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.3321, allocations: 0 / 0.9575 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0008054/0.3329, allocations: 253.2 kB / 0.9578 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.333, allocations: 59.41 kB / 0.9578 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.3334, allocations: 270.6 kB / 0.9581 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3334, allocations: 29.7 kB / 0.9581 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.3336, allocations: 172.1 kB / 0.9583 GB, free: 416 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.3337, allocations: 55.2 kB / 0.9583 GB, free: 360 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.84e-05/0.3338, allocations: 45.7 kB / 0.9584 GB, free: 308 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3339, allocations: 334.8 kB / 0.9587 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3342, allocations: 76.81 kB / 0.9588 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.3344, allocations: 122.5 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.3349, allocations: 202.3 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3349, allocations: 0 / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005297/0.3354, allocations: 246.3 kB / 0.9593 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3354, allocations: 7.938 kB / 0.9593 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3354, allocations: 0 / 0.9593 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3355, allocations: 4 kB / 0.9593 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.3357, allocations: 39.97 kB / 0.9594 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3357, allocations: 4.125 kB / 0.9594 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.3359, allocations: 35.67 kB / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.3359, allocations: 4.062 kB / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002728/0.3362, allocations: 189.9 kB / 0.9596 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002443/0.3364, allocations: 118.1 kB / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003434/0.3368, allocations: 181.9 kB / 0.9599 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.3368, allocations: 0 / 0.9599 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004778/0.3373, allocations: 255.1 kB / 0.9601 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.3373, allocations: 6.656 kB / 0.9601 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3373, allocations: 4 kB / 0.9601 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-06/0.3373, allocations: 0 / 0.9601 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3375, allocations: 43.97 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.3375, allocations: 7.938 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.3377, allocations: 23.95 kB / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.3377, allocations: 8 kB / 0.9602 GB, free: 14.34 MB / 0.7481 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.0001399/0.3378, allocations: 192.1 kB / 0.9604 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.3379, allocations: 23.72 kB / 0.9604 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.3384, allocations: 219.6 kB / 0.9606 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3384, allocations: 0 / 0.9606 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3384, allocations: 4 kB / 0.9606 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3385, allocations: 7.969 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/0.3394, allocations: 0.6231 MB / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3394, allocations: 0 / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.3396, allocations: 39.91 kB / 0.9613 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3396, allocations: 4 kB / 0.9613 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3396, allocations: 4 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3396, allocations: 0 / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3396, allocations: 3.984 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.3404, allocations: 401.2 kB / 0.9617 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.3404, allocations: 96.86 kB / 0.9618 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.3405, allocations: 4 kB / 0.9618 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.3406, allocations: 11.98 kB / 0.9618 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.3407, allocations: 15.92 kB / 0.9618 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.3407, allocations: 15.92 kB / 0.9618 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001916/0.3409, allocations: 190 kB / 0.962 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3409, allocations: 4.062 kB / 0.962 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003875/0.3413, allocations: 83.69 kB / 0.9621 GB, free: 12.32 MB / 0.7481 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.00013/0.3415, allocations: 107.2 kB / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007287/0.3422, allocations: 283.9 kB / 0.9625 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3422, allocations: 0 / 0.9625 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.3424, allocations: 83.89 kB / 0.9625 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.3429, allocations: 43.03 kB / 0.9626 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008871/0.3438, allocations: 0.4893 MB / 0.9631 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.3441, allocations: 0.7597 MB / 0.9638 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.3442, allocations: 23.44 kB / 0.9638 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3442, allocations: 0 / 0.9638 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of Templates: time 0.005354/0.3496, allocations: 3.131 MB / 0.9669 GB, free: 7.363 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches