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.008846/0.008846, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.00201/0.00201, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.592/2.592, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 62.95 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3258, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003871/0.3297, allocations: 2.21 MB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3309, allocations: 0.5219 MB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.3311, allocations: 7.938 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.3313, allocations: 47.53 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.3314, allocations: 55.45 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.3318, allocations: 135.8 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003824/0.3322, allocations: 372.2 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.3325, allocations: 177.1 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.3327, allocations: 135.5 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.3328, allocations: 131.3 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.3329, allocations: 40 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-05/0.333, allocations: 40 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.534e-05/0.333, allocations: 87.69 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.3332, allocations: 155.2 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.3336, allocations: 470.4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3336, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3336, allocations: 3.938 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.3336, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 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.0009949/0.3346, allocations: 0.6119 MB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3347, allocations: 12.03 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.3348, allocations: 32.56 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.3353, allocations: 315.5 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3354, allocations: 12.94 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.3354, allocations: 24.38 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.336, allocations: 296.2 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.336, allocations: 3.938 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.336, allocations: 12 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.336, allocations: 4 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.3365, allocations: 202.1 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.3379, allocations: 0.9779 MB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.3384, allocations: 281.4 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.3386, allocations: 100.8 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3386, allocations: 4 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3387, allocations: 34.55 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.033e-06/0.3387, allocations: 4 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0006975/0.3394, allocations: 261.2 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.3394, allocations: 51.41 kB / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.3397, allocations: 270.7 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3397, allocations: 29.7 kB / 1.096 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3398, allocations: 184 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.3399, allocations: 51.25 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.853e-05/0.34, allocations: 45.61 kB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3401, allocations: 338.8 kB / 1.096 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.3403, allocations: 72.81 kB / 1.096 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3405, allocations: 122.5 kB / 1.097 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.3409, allocations: 197.8 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3409, allocations: 0 / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004944/0.3414, allocations: 249.2 kB / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3415, allocations: 13.69 kB / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3415, allocations: 4.062 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3415, allocations: 0 / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.3417, allocations: 47.91 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3418, allocations: 0 / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.3419, allocations: 31.77 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.3419, allocations: 4 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000254/0.3422, allocations: 180.1 kB / 1.097 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001881/0.3424, allocations: 118.6 kB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003307/0.3427, allocations: 186.3 kB / 1.098 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-06/0.3427, allocations: 0 / 1.098 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000419/0.3432, allocations: 239.2 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.3432, allocations: 8 kB / 1.098 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-06/0.3432, allocations: 4.125 kB / 1.098 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/0.3432, allocations: 4 kB / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.3434, allocations: 47.91 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.3434, allocations: 0 / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3435, allocations: 23.83 kB / 1.098 GB, free: 7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3436, allocations: 11.94 kB / 1.098 GB, free: 6.988 MB / 0.8575 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.0001188/0.3437, allocations: 192.1 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.3437, allocations: 23.72 kB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.3443, allocations: 219.7 kB / 1.098 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3443, allocations: 0 / 1.098 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3443, allocations: 0 / 1.098 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3443, allocations: 3.984 kB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008809/0.3452, allocations: 0.6283 MB / 1.099 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3452, allocations: 0 / 1.099 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.3454, allocations: 35.97 kB / 1.099 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.3454, allocations: 0 / 1.099 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.3454, allocations: 8 kB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3454, allocations: 0 / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3454, allocations: 3.938 kB / 1.099 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.3461, allocations: 393 kB / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.3462, allocations: 104.8 kB / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.3462, allocations: 0 / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.3464, allocations: 15.98 kB / 1.099 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.3464, allocations: 16.05 kB / 1.099 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.3465, allocations: 15.92 kB / 1.099 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001837/0.3467, allocations: 194 kB / 1.1 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3467, allocations: 3.938 kB / 1.1 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003901/0.3471, allocations: 83.69 kB / 1.1 GB, free: 4.973 MB / 0.8575 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.0001342/0.3472, allocations: 115.1 kB / 1.1 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006884/0.3479, allocations: 279.6 kB / 1.1 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3479, allocations: 0 / 1.1 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.3481, allocations: 87.89 kB / 1.1 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.3485, allocations: 51.16 kB / 1.1 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008486/0.3494, allocations: 455.3 kB / 1.101 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.3497, allocations: 0.7596 MB / 1.101 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.3498, allocations: 29.94 kB / 1.101 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.3499, allocations: 23.42 kB / 1.101 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.3499, allocations: 0 / 1.101 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of Templates: time 0.005547/0.3554, allocations: 2.326 MB / 1.104 GB, free: 0.832 MB / 0.8575 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/jenkins/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