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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.007495/0.007494, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001506/0.001506, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.509/1.509, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.848/2.848, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 62.25 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3237, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.00398/0.3277, allocations: 2.256 MB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3289, allocations: 0.4985 MB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003317/0.3293, allocations: 8 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.3296, allocations: 31.66 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.3298, allocations: 31.8 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.3302, allocations: 123.9 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.3307, allocations: 328.2 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.331, allocations: 173.1 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.3312, allocations: 111.4 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.3314, allocations: 123.2 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.3314, allocations: 16 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.747e-05/0.3315, allocations: 16 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.3316, allocations: 51.77 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.3317, allocations: 131.2 kB / 1.057 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.3321, allocations: 375.4 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3321, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3321, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.3321, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 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.00119/0.3333, allocations: 0.6042 MB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3334, allocations: 15.97 kB / 1.058 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.902e-05/0.3335, allocations: 36.47 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.334, allocations: 315.4 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.334, allocations: 28.88 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.3341, allocations: 28.36 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.3347, allocations: 276.2 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3347, allocations: 3.938 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.3347, allocations: 12 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3347, allocations: 8 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.3353, allocations: 206.1 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3368, allocations: 0.9857 MB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.3374, allocations: 279.9 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.3376, allocations: 106.2 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3377, allocations: 4 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3377, allocations: 30.56 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.963e-06/0.3377, allocations: 4 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0008103/0.3385, allocations: 261.2 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.3386, allocations: 55.39 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.3389, allocations: 270.7 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.339, allocations: 29.7 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.3391, allocations: 184 kB / 1.061 GB, free: 60 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.3392, allocations: 55.14 kB / 1.061 GB, free: 4 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3393, allocations: 41.78 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3395, allocations: 334.8 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.3398, allocations: 80.81 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.34, allocations: 121.1 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.3405, allocations: 193.6 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3405, allocations: 0 / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005592/0.3411, allocations: 242.9 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3411, allocations: 8.109 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3411, allocations: 8 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3412, allocations: 64 / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.3414, allocations: 51.91 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3414, allocations: 4 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.3416, allocations: 27.67 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3416, allocations: 12 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002733/0.3419, allocations: 180.1 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002049/0.3421, allocations: 112 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003636/0.3425, allocations: 185.7 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.3425, allocations: 4 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004852/0.343, allocations: 233.2 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.343, allocations: 8 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.343, allocations: 4.125 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-06/0.3431, allocations: 0 / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.3432, allocations: 43.91 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3433, allocations: 4 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.3434, allocations: 23.83 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3434, allocations: 4 kB / 1.062 GB, free: 14.02 MB / 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.0001648/0.3436, allocations: 196.1 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.3437, allocations: 23.72 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005775/0.3442, allocations: 221.1 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3443, allocations: 4 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3443, allocations: 3.938 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3443, allocations: 3.938 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3453, allocations: 0.6243 MB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3453, allocations: 0 / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.3455, allocations: 43.91 kB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3455, allocations: 3.938 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3456, allocations: 0 / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3456, allocations: 4 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3456, allocations: 0 / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007983/0.3464, allocations: 396.5 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/0.3465, allocations: 104.8 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3465, allocations: 4 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3467, allocations: 16.05 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.3468, allocations: 11.98 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.3468, allocations: 7.938 kB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002318/0.347, allocations: 198 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.347, allocations: 0 / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004409/0.3475, allocations: 79.69 kB / 1.064 GB, free: 12.01 MB / 0.8262 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.0001661/0.3477, allocations: 109.9 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007927/0.3485, allocations: 285.7 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3485, allocations: 0 / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.3487, allocations: 85.45 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.3493, allocations: 37.05 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3504, allocations: 0.5924 MB / 1.065 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.3509, allocations: 0.7598 MB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.351, allocations: 35.36 kB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.351, allocations: 0 / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.006872/0.3579, allocations: 3.119 MB / 1.069 GB, free: 6.938 MB / 0.8262 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/jenkins1/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