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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002663/0.002663, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 177.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.386/3.386, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1Equ.y.1.|u1Equ.y.2.|setFloMin.ratFloMinEna.1..y|setFloMin.ratFloMinEna.2..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.1.|setFloMin.V_flow_min.2.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") translateModel(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1Equ.y.1.|u1Equ.y.2.|setFloMin.ratFloMinEna.1..y|setFloMin.ratFloMinEna.2..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.1.|setFloMin.V_flow_min.2.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.528e-05/3.813e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.0025/0.002538, allocations: 0.9724 MB / 0.8784 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.004754, allocations: 1.281 MB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.004846, allocations: 7.938 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.005267, allocations: 112.6 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.005394, allocations: 60.39 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.005999, allocations: 180.8 kB / 0.88 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000767/0.006766, allocations: 0.5577 MB / 0.8805 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.007009, allocations: 112.3 kB / 0.8806 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/0.007411, allocations: 295.6 kB / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.007738, allocations: 191.6 kB / 0.8811 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.007865, allocations: 36 kB / 0.8811 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.008082, allocations: 63.97 kB / 0.8812 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.008474, allocations: 244.3 kB / 0.8814 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.008712, allocations: 143.6 kB / 0.8815 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.009726, allocations: 0.7216 MB / 0.8822 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.00973, allocations: 0 / 0.8822 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.064e-06/0.009732, allocations: 0 / 0.8822 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.009741, allocations: 1.062 kB / 0.8822 GB, free: 1.746 MB / 0.8386 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.001941/0.01168, allocations: 0.7853 MB / 0.883 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.01173, allocations: 8.031 kB / 0.883 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.01193, allocations: 56.7 kB / 0.8831 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008196/0.01274, allocations: 337.9 kB / 0.8834 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.01279, allocations: 20.88 kB / 0.8834 GB, free: 496 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-05/0.01288, allocations: 33.03 kB / 0.8835 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/0.01341, allocations: 244.6 kB / 0.8837 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.01342, allocations: 3.625 kB / 0.8837 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.01346, allocations: 12.38 kB / 0.8837 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.01347, allocations: 4.375 kB / 0.8837 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.01385, allocations: 185.8 kB / 0.8839 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.0158, allocations: 0.8736 MB / 0.8847 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.01647, allocations: 294.8 kB / 0.885 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.01665, allocations: 91.64 kB / 0.8851 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.01668, allocations: 4.938 kB / 0.8851 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/0.01706, allocations: 213.4 kB / 0.8853 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 4.198e-06/0.01706, allocations: 5.359 kB / 0.8853 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0008259/0.01789, allocations: 398.9 kB / 0.8857 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.01795, allocations: 59.41 kB / 0.8858 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005859/0.01854, allocations: 438.3 kB / 0.8862 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.0186, allocations: 38.3 kB / 0.8862 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.01888, allocations: 264.9 kB / 0.8865 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.01896, allocations: 67.53 kB / 0.8865 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.01919, allocations: 123.3 kB / 0.8866 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003591/0.01955, allocations: 0.543 MB / 0.8872 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.0197, allocations: 73.27 kB / 0.8872 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009547/0.02065, allocations: 0.9193 MB / 0.8881 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.02102, allocations: 237.8 kB / 0.8884 GB, free: 11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.02102, allocations: 4 kB / 0.8884 GB, free: 11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005809/0.02161, allocations: 273.2 kB / 0.8886 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.02163, allocations: 8.047 kB / 0.8886 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.02164, allocations: 7.938 kB / 0.8886 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.02166, allocations: 0 / 0.8886 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.02185, allocations: 35.92 kB / 0.8887 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.02186, allocations: 4 kB / 0.8887 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.02245, allocations: 51.89 kB / 0.8887 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.02247, allocations: 16.17 kB / 0.8887 GB, free: 10.61 MB / 0.8542 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.000305/0.02277, allocations: 212.4 kB / 0.889 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.02285, allocations: 39.75 kB / 0.889 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000629/0.02348, allocations: 317 kB / 0.8893 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.02349, allocations: 4 kB / 0.8893 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.02349, allocations: 0 / 0.8893 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.02351, allocations: 7.969 kB / 0.8893 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008516/0.02436, allocations: 328.5 kB / 0.8896 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02436, allocations: 0 / 0.8896 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.02447, allocations: 23.98 kB / 0.8896 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.02448, allocations: 4 kB / 0.8896 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.02451, allocations: 11.92 kB / 0.8897 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.02451, allocations: 4 kB / 0.8897 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02451, allocations: 0 / 0.8897 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.02512, allocations: 350.7 kB / 0.89 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.02521, allocations: 39.73 kB / 0.89 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.02525, allocations: 3.938 kB / 0.89 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.02536, allocations: 11.98 kB / 0.89 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.002e-05/0.02544, allocations: 15.98 kB / 0.8901 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.02547, allocations: 11.98 kB / 0.8901 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003602/0.02583, allocations: 275 kB / 0.8903 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02583, allocations: 0 / 0.8903 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004349/0.02626, allocations: 79.88 kB / 0.8904 GB, free: 8.832 MB / 0.8542 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.0002576/0.02652, allocations: 119.1 kB / 0.8905 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005216/0.02704, allocations: 229.9 kB / 0.8907 GB, free: 8.477 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02704, allocations: 3.938 kB / 0.8907 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.02726, allocations: 130.2 kB / 0.8909 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.02756, allocations: 32.66 kB / 0.8909 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.02875, allocations: 0.6078 MB / 0.8915 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.02902, allocations: 210.2 kB / 0.8917 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.02921, allocations: 54.23 kB / 0.8917 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.014e-05/0.0293, allocations: 32.5 kB / 0.8918 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/0.0293, allocations: 4 kB / 0.8918 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of Templates: time 0.0122/0.0415, allocations: 5.062 MB / 0.8967 GB, free: 2.395 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.72307417995762]