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.001849/0.001849, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.002117/0.002117, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.444/1.444, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.709/2.709, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 74.17 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3329, allocations: 159.2 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.004094/0.337, allocations: 2.239 MB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3382, allocations: 0.5141 MB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.3384, allocations: 4 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.3387, allocations: 35.66 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.3389, allocations: 23.8 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.3392, allocations: 123.9 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.3397, allocations: 364.2 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.34, allocations: 185.1 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.3402, allocations: 131.5 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.3404, allocations: 131.3 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.3405, allocations: 40 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.137e-05/0.3405, allocations: 47.94 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.3406, allocations: 75.77 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3408, allocations: 155.2 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.3412, allocations: 387.4 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3412, allocations: 4 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3412, allocations: 3.938 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3412, allocations: 3.938 kB / 1.068 GB, free: 10.68 MB / 0.8419 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.001065/0.3423, allocations: 0.608 MB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3423, allocations: 8.031 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.3424, allocations: 32.56 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.3429, allocations: 311.4 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.3429, allocations: 20.94 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.343, allocations: 24.38 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.3436, allocations: 288.2 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3436, allocations: 7.938 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.3436, allocations: 8 kB / 1.07 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3436, allocations: 11.98 kB / 1.07 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/0.3442, allocations: 206.1 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.3458, allocations: 0.9819 MB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.3463, allocations: 267.9 kB / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.3466, allocations: 108.8 kB / 1.071 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.3467, allocations: 4 kB / 1.071 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.3467, allocations: 34.56 kB / 1.071 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.3467, allocations: 0 / 1.071 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0008115/0.3475, allocations: 257.2 kB / 1.072 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.3476, allocations: 59.41 kB / 1.072 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.348, allocations: 270.7 kB / 1.072 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.3481, allocations: 29.7 kB / 1.072 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.3482, allocations: 172.1 kB / 1.072 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.3483, allocations: 55.19 kB / 1.072 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.3484, allocations: 49.61 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002589/0.3487, allocations: 334.8 kB / 1.072 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.3489, allocations: 80.81 kB / 1.073 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.3492, allocations: 119.2 kB / 1.073 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.3497, allocations: 193.8 kB / 1.073 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3497, allocations: 0 / 1.073 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005896/0.3503, allocations: 254.9 kB / 1.073 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3503, allocations: 11.94 kB / 1.073 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3503, allocations: 0 / 1.073 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3504, allocations: 3.984 kB / 1.073 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.3506, allocations: 47.91 kB / 1.073 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3507, allocations: 3.984 kB / 1.073 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.3508, allocations: 35.89 kB / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3509, allocations: 4 kB / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002956/0.3512, allocations: 177.9 kB / 1.073 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002374/0.3514, allocations: 117 kB / 1.073 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003931/0.3518, allocations: 182.3 kB / 1.074 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.907e-06/0.3518, allocations: 3.984 kB / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005049/0.3523, allocations: 245 kB / 1.074 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.3524, allocations: 8 kB / 1.074 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.3524, allocations: 0 / 1.074 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.528e-06/0.3524, allocations: 4 kB / 1.074 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.3526, allocations: 47.91 kB / 1.074 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.3526, allocations: 0 / 1.074 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3527, allocations: 19.83 kB / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3528, allocations: 16.12 kB / 1.074 GB, free: 4.719 MB / 0.8419 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.0001872/0.353, allocations: 192.1 kB / 1.074 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.353, allocations: 19.72 kB / 1.074 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000618/0.3536, allocations: 219.7 kB / 1.074 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3537, allocations: 0 / 1.074 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3537, allocations: 4 kB / 1.074 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3537, allocations: 0 / 1.074 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.3548, allocations: 0.6335 MB / 1.075 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3548, allocations: 0 / 1.075 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.355, allocations: 31.98 kB / 1.075 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.355, allocations: 3.984 kB / 1.075 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3551, allocations: 12 kB / 1.075 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3551, allocations: 0 / 1.075 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3551, allocations: 0 / 1.075 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.3559, allocations: 394.9 kB / 1.075 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.356, allocations: 100.9 kB / 1.076 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.3561, allocations: 4 kB / 1.076 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.3562, allocations: 19.97 kB / 1.076 GB, free: 3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.3563, allocations: 11.92 kB / 1.076 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3563, allocations: 11.94 kB / 1.076 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002594/0.3566, allocations: 198 kB / 1.076 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3566, allocations: 0 / 1.076 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004086/0.357, allocations: 83.69 kB / 1.076 GB, free: 2.703 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.0001786/0.3572, allocations: 107.2 kB / 1.076 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000785/0.358, allocations: 281.9 kB / 1.076 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.358, allocations: 4.5 kB / 1.076 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.3582, allocations: 89.92 kB / 1.076 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004987/0.3587, allocations: 36.48 kB / 1.076 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3599, allocations: 0.592 MB / 1.077 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.3604, allocations: 0.7634 MB / 1.078 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.3605, allocations: 27.42 kB / 1.078 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3605, allocations: 4 kB / 1.078 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of Templates: time 0.4896/0.8501, allocations: 3.11 MB / 1.081 GB, free: 21.12 MB / 0.8419 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=400 -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/jenkins1/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