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.00136/0.00136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001589/0.001589, allocations: 191.5 kB / 16.14 MB, free: 6.645 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.534/1.534, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 65.47 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.264, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003169/0.2672, allocations: 2.248 MB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.268, allocations: 0.514 MB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.2682, allocations: 4 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.2684, allocations: 31.66 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.2685, allocations: 35.78 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.2688, allocations: 123.9 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.2692, allocations: 332.2 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.2694, allocations: 177.1 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.2696, allocations: 103.5 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.2698, allocations: 131.2 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.2698, allocations: 16 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.246e-05/0.2698, allocations: 16 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.2699, allocations: 51.77 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.27, allocations: 127.1 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.2704, allocations: 442.8 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2704, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2704, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2704, allocations: 0 / 1.056 GB, free: 4.52 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.001091/0.2715, allocations: 0.6042 MB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2716, allocations: 8.031 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.2717, allocations: 36.47 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.2721, allocations: 323.3 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.2721, allocations: 20.94 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.2721, allocations: 24.38 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.2727, allocations: 280.2 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2727, allocations: 7.875 kB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.2728, allocations: 8 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2728, allocations: 8 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.2733, allocations: 214.1 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.2747, allocations: 0.9819 MB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.2752, allocations: 279.9 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.2754, allocations: 106.5 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.2754, allocations: 0 / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2755, allocations: 30.56 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 4.178e-06/0.2755, allocations: 4 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0007181/0.2762, allocations: 265.2 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.2762, allocations: 51.41 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.2765, allocations: 274.7 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.2766, allocations: 29.7 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2767, allocations: 184 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.2767, allocations: 55.2 kB / 1.06 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.2768, allocations: 37.7 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2769, allocations: 338.8 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.2771, allocations: 76.81 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.2774, allocations: 121 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.2778, allocations: 193.5 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2779, allocations: 4 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005368/0.2784, allocations: 242.2 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2784, allocations: 12.12 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2784, allocations: 0 / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2785, allocations: 4 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.2787, allocations: 43.91 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2787, allocations: 0 / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.2789, allocations: 35.67 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.2789, allocations: 12.06 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002617/0.2792, allocations: 181.6 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001896/0.2794, allocations: 115.9 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000357/0.2798, allocations: 189.9 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.2798, allocations: 0 / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000459/0.2802, allocations: 239.1 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.2802, allocations: 7.984 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.2803, allocations: 4.125 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-06/0.2803, allocations: 4 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.2805, allocations: 39.92 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2805, allocations: 3.984 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.2806, allocations: 19.84 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2806, allocations: 8 kB / 1.062 GB, free: 14.55 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.0001183/0.2808, allocations: 200.1 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.2808, allocations: 23.72 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005295/0.2813, allocations: 220.4 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2814, allocations: 0 / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2814, allocations: 0 / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2814, allocations: 0 / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.2823, allocations: 0.6253 MB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2823, allocations: 0 / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.2825, allocations: 39.91 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.2825, allocations: 0 / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.2825, allocations: 8 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2825, allocations: 0 / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2825, allocations: 3.938 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000721/0.2833, allocations: 396.6 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.2834, allocations: 104.8 kB / 1.063 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.2834, allocations: 4 kB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.2836, allocations: 16.05 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.2836, allocations: 19.97 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.2836, allocations: 7.938 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001847/0.2838, allocations: 194 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.453e-06/0.2838, allocations: 0 / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003922/0.2842, allocations: 87.62 kB / 1.064 GB, free: 12.54 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.0001147/0.2844, allocations: 103.2 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006697/0.285, allocations: 275.6 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2851, allocations: 0 / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.2853, allocations: 87.89 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.2857, allocations: 48.42 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.2866, allocations: 0.5517 MB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.2869, allocations: 0.7637 MB / 1.065 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.287, allocations: 25.94 kB / 1.065 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.2871, allocations: 27.42 kB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.2871, allocations: 0 / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.004905/0.292, allocations: 2.116 MB / 1.068 GB, free: 8.5 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/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