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.001413/0.001412, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001359/0.001359, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.549/2.549, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 62.52 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3009, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003331/0.3042, allocations: 2.207 MB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009299/0.3052, allocations: 0.5258 MB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.3053, allocations: 4 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.3055, allocations: 47.47 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.3057, allocations: 47.53 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.306, allocations: 135.8 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.3063, allocations: 364.2 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.3066, allocations: 189.1 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.3068, allocations: 131.5 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.3069, allocations: 139.2 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.307, allocations: 40 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.233e-05/0.307, allocations: 40 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.3071, allocations: 79.77 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.3072, allocations: 155.2 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.3076, allocations: 458.8 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3076, allocations: 0 / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3076, allocations: 4 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3076, allocations: 4 kB / 1.069 GB, free: 10.45 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.0009324/0.3085, allocations: 0.6003 MB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3086, allocations: 12.56 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.3087, allocations: 32.56 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.309, allocations: 323.3 kB / 1.07 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3091, allocations: 20.94 kB / 1.07 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.3091, allocations: 24.38 kB / 1.07 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.3096, allocations: 280.2 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3096, allocations: 3.938 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.3097, allocations: 11.94 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3097, allocations: 8 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.3102, allocations: 214.1 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.3115, allocations: 0.9819 MB / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.312, allocations: 274.3 kB / 1.071 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3122, allocations: 102.9 kB / 1.071 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3122, allocations: 7.984 kB / 1.071 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3123, allocations: 34.56 kB / 1.071 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 4.519e-06/0.3123, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0006938/0.313, allocations: 261.2 kB / 1.072 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.313, allocations: 51.41 kB / 1.072 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.3133, allocations: 274.7 kB / 1.072 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3133, allocations: 33.7 kB / 1.072 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3134, allocations: 176.1 kB / 1.072 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.3135, allocations: 51.2 kB / 1.072 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.3136, allocations: 45.61 kB / 1.072 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3137, allocations: 338.8 kB / 1.073 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3139, allocations: 76.81 kB / 1.073 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.3141, allocations: 122.7 kB / 1.073 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.3146, allocations: 193.7 kB / 1.073 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3146, allocations: 0 / 1.073 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000515/0.3151, allocations: 247 kB / 1.073 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3151, allocations: 4 kB / 1.073 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3151, allocations: 4 kB / 1.073 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3152, allocations: 3.984 kB / 1.073 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.3154, allocations: 51.84 kB / 1.073 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3154, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.3156, allocations: 31.77 kB / 1.073 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3156, allocations: 8 kB / 1.073 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002484/0.3158, allocations: 184.1 kB / 1.074 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001844/0.316, allocations: 113 kB / 1.074 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003412/0.3164, allocations: 189.9 kB / 1.074 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-06/0.3164, allocations: 0 / 1.074 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004435/0.3168, allocations: 235.2 kB / 1.074 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.3169, allocations: 12.12 kB / 1.074 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3169, allocations: 3.984 kB / 1.074 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.888e-06/0.3169, allocations: 4 kB / 1.074 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.3171, allocations: 43.91 kB / 1.074 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.3171, allocations: 0 / 1.074 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3172, allocations: 23.83 kB / 1.074 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.3172, allocations: 8 kB / 1.074 GB, free: 4.5 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 9.892e-05/0.3173, allocations: 196.1 kB / 1.074 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.3174, allocations: 27.66 kB / 1.074 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005362/0.3179, allocations: 223.6 kB / 1.075 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.318, allocations: 0 / 1.075 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.318, allocations: 0 / 1.075 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.318, allocations: 0 / 1.075 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008969/0.3189, allocations: 0.6285 MB / 1.075 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3189, allocations: 0 / 1.075 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.3191, allocations: 39.91 kB / 1.075 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3191, allocations: 0 / 1.075 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3191, allocations: 8 kB / 1.075 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3191, allocations: 0 / 1.075 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3191, allocations: 0 / 1.075 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.3198, allocations: 392.7 kB / 1.076 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.3199, allocations: 100.9 kB / 1.076 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.3199, allocations: 7.984 kB / 1.076 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.3201, allocations: 16.05 kB / 1.076 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.3202, allocations: 11.98 kB / 1.076 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3202, allocations: 7.938 kB / 1.076 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001733/0.3204, allocations: 198 kB / 1.076 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.222e-06/0.3204, allocations: 3.938 kB / 1.076 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003776/0.3207, allocations: 87.62 kB / 1.076 GB, free: 2.477 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.0001081/0.3209, allocations: 103.8 kB / 1.076 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006864/0.3216, allocations: 291.6 kB / 1.076 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3216, allocations: 0 / 1.076 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.3218, allocations: 88.39 kB / 1.076 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.3222, allocations: 42.73 kB / 1.077 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.3231, allocations: 0.4891 MB / 1.077 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3233, allocations: 0.7595 MB / 1.078 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.3234, allocations: 31.36 kB / 1.078 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3234, allocations: 0 / 1.078 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of Templates: time 0.4435/0.767, allocations: 3.118 MB / 1.081 GB, free: 21.29 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/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