Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001595/0.001595, allocations: 192.9 kB / 16.25 MB, free: 6.59 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.748/2.748, allocations: 482.4 MB / 0.7544 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 63.59 kB / 0.9235 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2714, allocations: 162.2 MB / 1.082 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002141/0.2736, allocations: 1.063 MB / 1.083 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.2751, allocations: 1.244 MB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.2752, allocations: 7.938 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.2756, allocations: 107.7 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.097e-05/0.2757, allocations: 51.8 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.2761, allocations: 155 kB / 1.084 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000562/0.2767, allocations: 0.5383 MB / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.277, allocations: 183.6 kB / 1.085 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.2772, allocations: 231.5 kB / 1.085 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.2774, allocations: 191.4 kB / 1.086 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.2775, allocations: 39.98 kB / 1.086 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.2777, allocations: 71.91 kB / 1.086 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.2779, allocations: 223.5 kB / 1.086 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.2781, allocations: 211 kB / 1.086 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005958/0.2787, allocations: 0.6508 MB / 1.087 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2787, allocations: 0 / 1.087 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2787, allocations: 0 / 1.087 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.2788, allocations: 0 / 1.087 GB, free: 8.547 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001077/0.2798, allocations: 0.7289 MB / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2799, allocations: 8.031 kB / 1.087 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.536e-05/0.28, allocations: 54.73 kB / 1.087 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.2801, allocations: 40.56 kB / 1.088 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.2806, allocations: 436.3 kB / 1.088 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.2807, allocations: 20.81 kB / 1.088 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.2807, allocations: 32.38 kB / 1.088 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.2812, allocations: 311.7 kB / 1.088 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2812, allocations: 7.938 kB / 1.088 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.2813, allocations: 8 kB / 1.088 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2813, allocations: 4 kB / 1.088 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.2817, allocations: 257.6 kB / 1.089 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.2831, allocations: 0.9545 MB / 1.089 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.2837, allocations: 378.3 kB / 1.09 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.2839, allocations: 143.5 kB / 1.09 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.2839, allocations: 4 kB / 1.09 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.2843, allocations: 232.4 kB / 1.09 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.2843, allocations: 0 / 1.09 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0007284/0.285, allocations: 478.4 kB / 1.091 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2851, allocations: 55.34 kB / 1.091 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.2856, allocations: 481.6 kB / 1.091 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.2856, allocations: 41.64 kB / 1.091 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.2858, allocations: 184.9 kB / 1.091 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.2859, allocations: 51.27 kB / 1.091 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.286, allocations: 109.6 kB / 1.092 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2862, allocations: 354.7 kB / 1.092 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.2863, allocations: 95.94 kB / 1.092 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.2868, allocations: 418.9 kB / 1.092 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.2871, allocations: 232.1 kB / 1.093 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2871, allocations: 0 / 1.093 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004498/0.2876, allocations: 318.2 kB / 1.093 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2876, allocations: 4 kB / 1.093 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2876, allocations: 4 kB / 1.093 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2876, allocations: 0 / 1.093 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.2878, allocations: 27.98 kB / 1.093 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.2878, allocations: 12.05 kB / 1.093 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/0.2885, allocations: 79.75 kB / 1.093 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.2885, allocations: 8 kB / 1.093 GB, free: 1.742 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.intTimTab.idx,$PRE.u1Equ.intTimTab.idx,u1Equ.intTimTab.y[2],$PRE.u1Equ.intTimTab.y[2],u1Equ.intTimTab.y[1],$PRE.u1Equ.intTimTab.y[1],u1Equ.y[2],u1Equ.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002304/0.2888, allocations: 222.2 kB / 1.093 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.2888, allocations: 27.62 kB / 1.093 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005412/0.2894, allocations: 393.8 kB / 1.094 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2894, allocations: 0 / 1.094 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2894, allocations: 4 kB / 1.094 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2894, allocations: 0 / 1.094 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.2898, allocations: 389.2 kB / 1.094 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.2898, allocations: 4 kB / 1.094 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.2899, allocations: 23.86 kB / 1.094 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2899, allocations: 4 kB / 1.094 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2899, allocations: 4 kB / 1.094 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.2899, allocations: 4 kB / 1.094 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2899, allocations: 0 / 1.094 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.2904, allocations: 394.5 kB / 1.094 GB, free: 228 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.2905, allocations: 116.7 kB / 1.095 GB, free: 92 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.2905, allocations: 4 kB / 1.095 GB, free: 88 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.2906, allocations: 11.98 kB / 1.095 GB, free: 76 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.2907, allocations: 19.97 kB / 1.095 GB, free: 56 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.2907, allocations: 11.98 kB / 1.095 GB, free: 44 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000399/0.2911, allocations: 347.1 kB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2911, allocations: 4 kB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003121/0.2915, allocations: 75.84 kB / 1.095 GB, free: 15.62 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.y[1],u1Equ.y[2],u1Equ.intTimTab.y[1],u1Equ.intTimTab.y[2],u1Equ.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008795/0.2923, allocations: 0.9385 MB / 1.096 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.2928, allocations: 295.8 kB / 1.096 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2928, allocations: 0 / 1.096 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.2931, allocations: 157.3 kB / 1.096 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.2933, allocations: 25.42 kB / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.2977, allocations: 3.752 MB / 1.1 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.2982, allocations: 0.8379 MB / 1.101 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001898/0.2984, allocations: 82.23 kB / 1.101 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.2985, allocations: 103.4 kB / 1.101 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2985, allocations: 0 / 1.101 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4125/0.711, allocations: 8.047 MB / 1.109 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/0.7113, allocations: 225.8 kB / 1.109 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/3.471, allocations: 1.625 kB / 1.109 GB, free: 1.215 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint_fmu --startTime=0 --stopTime=1000 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches