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.008047/0.008047, allocations: 103.1 kB / 15.73 MB, free: 6.035 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.00188/0.00188, allocations: 199 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.91 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2754, allocations: 157.4 MB / 1.208 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.00349/0.2789, allocations: 2.201 MB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.28, allocations: 0.5141 MB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.2802, allocations: 7.938 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.2804, allocations: 43.53 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.2806, allocations: 55.52 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.2809, allocations: 139.8 kB / 1.211 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000356/0.2813, allocations: 368.3 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002999/0.2816, allocations: 185 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.2818, allocations: 123.5 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.2819, allocations: 147.3 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.282, allocations: 40 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.926e-05/0.282, allocations: 40 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.276e-05/0.2821, allocations: 79.7 kB / 1.212 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.2823, allocations: 155.2 kB / 1.212 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.2827, allocations: 474.4 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2828, allocations: 0 / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.477e-06/0.2828, allocations: 0 / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.2828, allocations: 3.938 kB / 1.212 GB, free: 5.145 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.0009885/0.2838, allocations: 0.6081 MB / 1.213 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2838, allocations: 12.62 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.2839, allocations: 32.56 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.2843, allocations: 311.4 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.2844, allocations: 24.94 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.2844, allocations: 24.38 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.285, allocations: 288.2 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.285, allocations: 3.938 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.285, allocations: 7.984 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.285, allocations: 8 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.2856, allocations: 210.1 kB / 1.214 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.287, allocations: 0.9701 MB / 1.215 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.2875, allocations: 277.9 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.2877, allocations: 104.8 kB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2878, allocations: 11.98 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.2878, allocations: 38.55 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.2878, allocations: 3.938 kB / 1.215 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0007001/0.2885, allocations: 258.7 kB / 1.215 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.2886, allocations: 55.41 kB / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.2889, allocations: 270.7 kB / 1.216 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.2889, allocations: 29.7 kB / 1.216 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.289, allocations: 176.1 kB / 1.216 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.2891, allocations: 55.11 kB / 1.216 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.2892, allocations: 45.7 kB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2893, allocations: 330.8 kB / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.2895, allocations: 84.81 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.2897, allocations: 121 kB / 1.216 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.2902, allocations: 190 kB / 1.217 GB, free: 372 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2902, allocations: 0 / 1.217 GB, free: 372 kB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005219/0.2907, allocations: 253.2 kB / 1.217 GB, free: 112 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2907, allocations: 4 kB / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2907, allocations: 8 kB / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2908, allocations: 0 / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.291, allocations: 47.91 kB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.291, allocations: 4 kB / 1.217 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.2912, allocations: 27.77 kB / 1.217 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.2912, allocations: 12.09 kB / 1.217 GB, free: 8 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000279/0.2915, allocations: 180.1 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001983/0.2917, allocations: 107.5 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003773/0.2921, allocations: 187 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.2921, allocations: 3.984 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004673/0.2926, allocations: 245.2 kB / 1.218 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.2926, allocations: 8 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-06/0.2926, allocations: 0 / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.2926, allocations: 4 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.2928, allocations: 43.91 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.2928, allocations: 0 / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.293, allocations: 19.84 kB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.293, allocations: 15.98 kB / 1.218 GB, free: 15.17 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.0001038/0.2931, allocations: 196.2 kB / 1.218 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.2931, allocations: 19.72 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005608/0.2937, allocations: 213.1 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2937, allocations: 7.938 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.2937, allocations: 0 / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2937, allocations: 7.984 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000976/0.2947, allocations: 0.6268 MB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2947, allocations: 0 / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.2949, allocations: 39.97 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.295, allocations: 0 / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.295, allocations: 0 / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.295, allocations: 8 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.295, allocations: 3.938 kB / 1.219 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/0.2957, allocations: 392.5 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.2958, allocations: 104.8 kB / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.2959, allocations: 4.062 kB / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.296, allocations: 15.98 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.2961, allocations: 7.984 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.2961, allocations: 15.92 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001859/0.2963, allocations: 198 kB / 1.219 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2963, allocations: 0 / 1.219 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003757/0.2967, allocations: 87.59 kB / 1.22 GB, free: 13.15 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.000112/0.2968, allocations: 107.2 kB / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007043/0.2975, allocations: 274.5 kB / 1.22 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2975, allocations: 0 / 1.22 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.2977, allocations: 88.39 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.2981, allocations: 34.98 kB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008593/0.299, allocations: 485.1 kB / 1.22 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.2993, allocations: 0.7673 MB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.2994, allocations: 29.94 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.2995, allocations: 23.42 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.2995, allocations: 0 / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of Templates: time 0.005327/0.3048, allocations: 2.339 MB / 1.224 GB, free: 9 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