Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001123/0.001123, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001181/0.001181, allocations: 193 kB / 16.25 MB, free: 6.629 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.704/2.704, allocations: 472.7 MB / 0.7449 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 64.33 kB / 0.9116 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.329, allocations: 159.9 MB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003748/0.3328, allocations: 2.254 MB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3339, allocations: 0.5141 MB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.3341, allocations: 7.938 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.3344, allocations: 27.72 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.3345, allocations: 31.73 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.3349, allocations: 119.9 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.3352, allocations: 364.2 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/0.3356, allocations: 185.1 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.3358, allocations: 135.4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.336, allocations: 131.3 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.336, allocations: 40 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.231e-05/0.3361, allocations: 43.94 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.3362, allocations: 83.7 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.3363, allocations: 155.2 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.3367, allocations: 462.8 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3367, allocations: 4 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3367, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.3368, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 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.001116/0.3379, allocations: 0.608 MB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3379, allocations: 8.031 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/0.338, allocations: 32.56 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.3385, allocations: 323.3 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3385, allocations: 20.94 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.3386, allocations: 24.38 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.3391, allocations: 280.2 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3391, allocations: 7.938 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.3392, allocations: 8 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3392, allocations: 8 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.3397, allocations: 210.1 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.3411, allocations: 0.9897 MB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.3416, allocations: 272.8 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.3418, allocations: 104.8 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3419, allocations: 4 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3419, allocations: 30.56 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.3419, allocations: 0 / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007121/0.3426, allocations: 258.9 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.3427, allocations: 55.41 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.343, allocations: 270.7 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.343, allocations: 29.7 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3431, allocations: 176.1 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.3432, allocations: 55.19 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.3432, allocations: 45.61 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3434, allocations: 342.8 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.3436, allocations: 80.81 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.3438, allocations: 111.3 kB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.3442, allocations: 198 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3442, allocations: 0 / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005135/0.3448, allocations: 249.2 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3448, allocations: 8 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3448, allocations: 0 / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3448, allocations: 3.938 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.3451, allocations: 44.03 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3451, allocations: 11.92 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.3453, allocations: 39.83 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.3453, allocations: 8 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000261/0.3456, allocations: 177.9 kB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001903/0.3458, allocations: 113 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003462/0.3461, allocations: 186.3 kB / 1.077 GB, free: 496 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.3461, allocations: 0 / 1.077 GB, free: 496 kB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000484/0.3466, allocations: 243 kB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.3466, allocations: 8 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.3466, allocations: 0 / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.3467, allocations: 4 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.3468, allocations: 39.97 kB / 1.078 GB, free: 196 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3469, allocations: 3.938 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.347, allocations: 23.83 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.347, allocations: 12.12 kB / 1.078 GB, free: 156 kB / 0.8262 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.0001516/0.3472, allocations: 192.2 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.3472, allocations: 19.72 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.3478, allocations: 225.3 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3478, allocations: 3.984 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3478, allocations: 4 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3478, allocations: 0 / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009482/0.3488, allocations: 0.6244 MB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3488, allocations: 3.938 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.349, allocations: 31.98 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.349, allocations: 7.984 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.3491, allocations: 8 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3491, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3491, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.3498, allocations: 396.5 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.3499, allocations: 100.9 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.3499, allocations: 4 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.3501, allocations: 15.97 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.3502, allocations: 11.98 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3502, allocations: 7.938 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000211/0.3504, allocations: 201.9 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3504, allocations: 0 / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004131/0.3509, allocations: 87.59 kB / 1.08 GB, free: 14.14 MB / 0.8419 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.0001407/0.351, allocations: 103.3 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007304/0.3517, allocations: 280.1 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3518, allocations: 4.062 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.352, allocations: 87.89 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.3525, allocations: 44.42 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.3534, allocations: 0.575 MB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3538, allocations: 0.7558 MB / 1.081 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000137/0.3539, allocations: 33.92 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.354, allocations: 19.44 kB / 1.081 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.354, allocations: 0 / 1.081 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.005574/0.3596, allocations: 2.214 MB / 1.084 GB, free: 9.996 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches