Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.004644/0.004644, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.00123/0.00123, allocations: 193.4 kB / 16.68 MB, free: 6.363 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.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437 MB / 0.7105 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2731, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003444/0.2765, allocations: 2.206 MB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2776, allocations: 0.5295 MB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.2779, allocations: 8 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.2782, allocations: 39.53 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.2784, allocations: 51.52 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.2788, allocations: 139.7 kB / 1.17 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.2793, allocations: 376.2 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.2796, allocations: 177.1 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.28, allocations: 135.4 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.2802, allocations: 135.3 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.311e-05/0.2803, allocations: 40 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.093e-05/0.2803, allocations: 44 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.2804, allocations: 83.69 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.2805, allocations: 151.2 kB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005322/0.2811, allocations: 470.2 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2811, allocations: 7.938 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.519e-06/0.2811, allocations: 0 / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.2811, allocations: 3.938 kB / 1.171 GB, free: 2.262 MB / 0.92 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.001129/0.2823, allocations: 0.6194 MB / 1.172 GB, free: 1.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2823, allocations: 12.03 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.131e-05/0.2824, allocations: 36.7 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/0.283, allocations: 315.6 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.283, allocations: 16.94 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.2831, allocations: 28.38 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.2837, allocations: 284.2 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2837, allocations: 3.938 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.2838, allocations: 12 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2838, allocations: 7.984 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/0.2843, allocations: 202.1 kB / 1.173 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.2859, allocations: 0.9784 MB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.2865, allocations: 275.9 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.2867, allocations: 104.3 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.2867, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.2868, allocations: 38.56 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.2868, allocations: 0 / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0007422/0.2875, allocations: 261.3 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.2876, allocations: 55.41 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.2879, allocations: 270.7 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2879, allocations: 25.7 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.2881, allocations: 184.2 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.2881, allocations: 63.39 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.2882, allocations: 41.7 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2884, allocations: 338.8 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.2886, allocations: 80.67 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.2889, allocations: 121.1 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.2893, allocations: 194.2 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2893, allocations: 3.938 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005471/0.2899, allocations: 245.3 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.2899, allocations: 8 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2899, allocations: 3.938 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.2899, allocations: 4.062 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2902, allocations: 56.03 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.2902, allocations: 0 / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.2904, allocations: 31.83 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.2904, allocations: 4 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002729/0.2907, allocations: 180.1 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002131/0.2909, allocations: 114.7 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003613/0.2913, allocations: 182.1 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.2913, allocations: 0 / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004746/0.2918, allocations: 247.8 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.2918, allocations: 4 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2918, allocations: 3.984 kB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-06/0.2918, allocations: 4 kB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.292, allocations: 44.05 kB / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.292, allocations: 7.984 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2922, allocations: 19.89 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2922, allocations: 4 kB / 1.177 GB, free: 12.29 MB / 0.9356 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.0001374/0.2923, allocations: 200.1 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.2924, allocations: 27.81 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/0.293, allocations: 215.7 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.293, allocations: 0 / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.293, allocations: 4 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.293, allocations: 3.984 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.2942, allocations: 0.6209 MB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2942, allocations: 4 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.2944, allocations: 35.97 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.2944, allocations: 4 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.2945, allocations: 0 / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2945, allocations: 3.938 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2945, allocations: 0 / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008689/0.2954, allocations: 397.2 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.523e-05/0.2955, allocations: 104.9 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.2955, allocations: 8 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.2957, allocations: 11.98 kB / 1.178 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.2958, allocations: 11.98 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2958, allocations: 11.88 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002506/0.296, allocations: 202 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2961, allocations: 0 / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004688/0.2965, allocations: 91.67 kB / 1.178 GB, free: 10.25 MB / 0.9356 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.0001758/0.2967, allocations: 107.2 kB / 1.179 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007491/0.2975, allocations: 279.8 kB / 1.179 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2975, allocations: 0 / 1.179 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.2977, allocations: 83.89 kB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.2982, allocations: 42.58 kB / 1.179 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009574/0.2991, allocations: 489.3 kB / 1.179 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.2995, allocations: 0.7558 MB / 1.18 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.2996, allocations: 25.94 kB / 1.18 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.2997, allocations: 27.42 kB / 1.18 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of SimCode: time 7.41e-07/0.2997, allocations: 0 / 1.18 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.005984/0.3056, allocations: 2.326 MB / 1.182 GB, free: 6.102 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches