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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001395/0.001395, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 66.36 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2717, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003222/0.2749, allocations: 2.214 MB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.2758, allocations: 0.5297 MB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.276, allocations: 7.938 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2761, allocations: 51.53 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.2763, allocations: 43.53 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.2765, allocations: 131.8 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.2769, allocations: 364.2 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.2772, allocations: 177.1 kB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.2773, allocations: 143.4 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.2775, allocations: 135.4 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.496e-05/0.2775, allocations: 40 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.367e-05/0.2776, allocations: 43.94 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.2777, allocations: 79.7 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2778, allocations: 151.3 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.2782, allocations: 454.8 kB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2782, allocations: 3.938 kB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2782, allocations: 0 / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.2782, allocations: 4 kB / 1.073 GB, free: 5.883 MB / 0.8262 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.0008985/0.2791, allocations: 0.6058 MB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2791, allocations: 12.03 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.2792, allocations: 32.56 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.2796, allocations: 323.3 kB / 1.074 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2796, allocations: 24.94 kB / 1.074 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.2797, allocations: 24.38 kB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.2802, allocations: 276.2 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2802, allocations: 3.938 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.2802, allocations: 12 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2803, allocations: 8 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.2808, allocations: 210.1 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.2821, allocations: 0.9857 MB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.2826, allocations: 268 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.2828, allocations: 104.8 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.2829, allocations: 3.938 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.2829, allocations: 38.56 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.2829, allocations: 0 / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007068/0.2836, allocations: 255.2 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.2837, allocations: 55.41 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.2839, allocations: 266.7 kB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.284, allocations: 33.7 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2841, allocations: 176.1 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.2841, allocations: 63.17 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.2842, allocations: 49.55 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2843, allocations: 334.8 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.2846, allocations: 80.75 kB / 1.077 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.2848, allocations: 124 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.2852, allocations: 194.5 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2852, allocations: 0 / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005213/0.2858, allocations: 253.2 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2858, allocations: 4 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2858, allocations: 0 / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2858, allocations: 4 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.286, allocations: 43.97 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2861, allocations: 7.984 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.2862, allocations: 23.77 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.2862, allocations: 15.94 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002513/0.2865, allocations: 176.1 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001883/0.2867, allocations: 113.1 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003491/0.287, allocations: 177.9 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/0.2871, allocations: 3.984 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004588/0.2875, allocations: 241.2 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.2875, allocations: 8 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.2876, allocations: 4.109 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-06/0.2876, allocations: 3.984 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.2878, allocations: 39.92 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2878, allocations: 11.94 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.2879, allocations: 23.83 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2879, allocations: 4 kB / 1.078 GB, free: 15.91 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.0001008/0.2881, allocations: 200.2 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.2881, allocations: 23.72 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.2886, allocations: 221.2 kB / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2886, allocations: 4 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2887, allocations: 0 / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2887, allocations: 0 / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000857/0.2895, allocations: 0.6269 MB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2895, allocations: 0 / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.2897, allocations: 39.92 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2898, allocations: 3.984 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.2898, allocations: 0 / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2898, allocations: 0 / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2898, allocations: 8 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000721/0.2905, allocations: 389.5 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.1e-05/0.2906, allocations: 96.86 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.2906, allocations: 11.94 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.2908, allocations: 27.91 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.2909, allocations: 11.98 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.2909, allocations: 7.938 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001947/0.2911, allocations: 198 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2911, allocations: 0 / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003883/0.2915, allocations: 83.59 kB / 1.08 GB, free: 13.89 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.0001227/0.2916, allocations: 103.8 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007226/0.2923, allocations: 289.2 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2924, allocations: 0 / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.2926, allocations: 84.39 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.293, allocations: 38.42 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/0.2939, allocations: 474.4 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.2942, allocations: 0.7634 MB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.2943, allocations: 33.88 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/0.2944, allocations: 19.44 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.2944, allocations: 0 / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of Templates: time 0.005163/0.2996, allocations: 2.299 MB / 1.084 GB, free: 9.773 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/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