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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00475/0.00475, allocations: 100.9 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.001102/0.001102, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.772/2.772, allocations: 461.9 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.89 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3072, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003435/0.3107, allocations: 2.203 MB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.3117, allocations: 0.5257 MB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.3118, allocations: 4 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.312, allocations: 47.53 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.3122, allocations: 39.55 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.3125, allocations: 143.7 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000364/0.3129, allocations: 368.2 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.3132, allocations: 189.1 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.3133, allocations: 123.5 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3135, allocations: 143.3 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.3135, allocations: 40 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.568e-05/0.3136, allocations: 40 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.3137, allocations: 75.72 kB / 1.212 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.3138, allocations: 163.2 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.3142, allocations: 478.3 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3142, allocations: 0 / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3142, allocations: 0 / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.423e-06/0.3142, allocations: 0 / 1.212 GB, free: 5.102 MB / 0.9669 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.0009197/0.3151, allocations: 0.612 MB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3152, allocations: 12.62 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.3153, allocations: 32.56 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.3157, allocations: 311.4 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3158, allocations: 20.94 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.3158, allocations: 24.38 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.3163, allocations: 288.2 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3164, allocations: 3.938 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.3164, allocations: 8 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.3164, allocations: 8 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.3169, allocations: 206.1 kB / 1.214 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.3183, allocations: 0.974 MB / 1.215 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.3187, allocations: 271.9 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.319, allocations: 104.8 kB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.319, allocations: 4 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.319, allocations: 38.55 kB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.319, allocations: 3.938 kB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.000703/0.3198, allocations: 263.4 kB / 1.215 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3198, allocations: 55.39 kB / 1.215 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3201, allocations: 270.7 kB / 1.216 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3201, allocations: 29.7 kB / 1.216 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3202, allocations: 176.1 kB / 1.216 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.3203, allocations: 59.11 kB / 1.216 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.3203, allocations: 45.64 kB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3205, allocations: 334.8 kB / 1.216 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.3207, allocations: 80.81 kB / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.3209, allocations: 125 kB / 1.216 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.3214, allocations: 190 kB / 1.217 GB, free: 328 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3214, allocations: 0 / 1.217 GB, free: 328 kB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005187/0.3219, allocations: 246.5 kB / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3219, allocations: 7.984 kB / 1.217 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3219, allocations: 4.125 kB / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.322, allocations: 4 kB / 1.217 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.3222, allocations: 47.91 kB / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3222, allocations: 4 kB / 1.217 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.3224, allocations: 27.77 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.3224, allocations: 8.062 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002529/0.3227, allocations: 184.1 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001884/0.3229, allocations: 111.5 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003543/0.3232, allocations: 181.6 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.3233, allocations: 7.938 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004628/0.3237, allocations: 234.2 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.3237, allocations: 8 kB / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.3238, allocations: 0 / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-06/0.3238, allocations: 4.125 kB / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.3239, allocations: 43.91 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.324, allocations: 4 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.3241, allocations: 23.83 kB / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.3241, allocations: 8 kB / 1.218 GB, free: 15.14 MB / 0.9825 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.0001046/0.3242, allocations: 196.1 kB / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.3243, allocations: 19.72 kB / 1.218 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005376/0.3248, allocations: 221.2 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3248, allocations: 7.938 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3249, allocations: 0 / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3249, allocations: 0 / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008938/0.3258, allocations: 0.6347 MB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3258, allocations: 0 / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.326, allocations: 39.97 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.326, allocations: 0 / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.326, allocations: 3.938 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.326, allocations: 4 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.326, allocations: 0 / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.3267, allocations: 393.6 kB / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.3268, allocations: 104.8 kB / 1.219 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.3269, allocations: 4 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.327, allocations: 19.92 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.3271, allocations: 7.984 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3271, allocations: 12 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001781/0.3273, allocations: 202 kB / 1.219 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3273, allocations: 0 / 1.219 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003863/0.3277, allocations: 83.59 kB / 1.22 GB, free: 13.12 MB / 0.9825 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.000123/0.3278, allocations: 103.2 kB / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007007/0.3285, allocations: 281.8 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3285, allocations: 0 / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.3287, allocations: 83.89 kB / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.3292, allocations: 43.33 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.33, allocations: 477 kB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3303, allocations: 0.7673 MB / 1.221 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.3304, allocations: 37.91 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.3305, allocations: 19.44 kB / 1.221 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3305, allocations: 0 / 1.221 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of Templates: time 0.005374/0.3359, allocations: 2.374 MB / 1.224 GB, free: 8.926 MB / 0.9825 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