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.001012/0.001012, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001091/0.001091, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9703/0.9703, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 2.124/2.124, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.|setFloMin.ratFloMinEna.[0-9,]+..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.[0-9,]+.|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.[0-9,]+.|setFloMin.ratFloMinEna.[0-9,]+..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.[0-9,]+.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.594e-05, allocations: 5.125 kB / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002641/0.002667, allocations: 0.9921 MB / 0.8803 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.004654, allocations: 1.292 MB / 0.8816 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.004794, allocations: 0 / 0.8816 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004404/0.005234, allocations: 121.9 kB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.005356, allocations: 67.67 kB / 0.8818 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.005976, allocations: 168.9 kB / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006581/0.006634, allocations: 0.5554 MB / 0.8825 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.00689, allocations: 116.3 kB / 0.8826 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.007336, allocations: 299.5 kB / 0.8829 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.007678, allocations: 169.9 kB / 0.883 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.007788, allocations: 32 kB / 0.8831 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.007985, allocations: 71.89 kB / 0.8831 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.008371, allocations: 191.6 kB / 0.8833 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.008583, allocations: 143.7 kB / 0.8835 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.009203, allocations: 496.8 kB / 0.8839 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.009208, allocations: 0 / 0.8839 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.009209, allocations: 0 / 0.8839 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.009221, allocations: 0 / 0.8839 GB, free: 1.395 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.001025/0.01025, allocations: 0.7494 MB / 0.8847 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.01028, allocations: 8.031 kB / 0.8847 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.01045, allocations: 56.7 kB / 0.8847 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.01089, allocations: 304.4 kB / 0.885 GB, free: 220 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.01093, allocations: 28.81 kB / 0.885 GB, free: 192 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.859e-05/0.01101, allocations: 28.38 kB / 0.8851 GB, free: 164 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.01132, allocations: 157.3 kB / 0.8852 GB, free: 0 / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.01133, allocations: 192 / 0.8852 GB, free: 0 / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.01137, allocations: 8.438 kB / 0.8852 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.01138, allocations: 8.375 kB / 0.8852 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.01154, allocations: 63.39 kB / 0.8853 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01275, allocations: 0.658 MB / 0.8859 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.01309, allocations: 146.8 kB / 0.8861 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.01317, allocations: 39.66 kB / 0.8861 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.01319, allocations: 4 kB / 0.8861 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.01342, allocations: 149.9 kB / 0.8863 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 2.294e-06/0.01342, allocations: 0 / 0.8863 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0004891/0.01391, allocations: 252.3 kB / 0.8865 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.01396, allocations: 67.44 kB / 0.8866 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.01433, allocations: 370.1 kB / 0.8869 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.01439, allocations: 41.7 kB / 0.887 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.01458, allocations: 259.5 kB / 0.8872 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.01463, allocations: 59.53 kB / 0.8873 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.01479, allocations: 123.2 kB / 0.8874 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.01497, allocations: 0.5274 MB / 0.8879 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.01502, allocations: 19.98 kB / 0.8879 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/0.01557, allocations: 0.8769 MB / 0.8888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.01575, allocations: 156.1 kB / 0.8889 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.01576, allocations: 0 / 0.8889 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003295/0.01609, allocations: 177.3 kB / 0.8891 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.01611, allocations: 8 kB / 0.8891 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.01612, allocations: 12.11 kB / 0.8891 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.01613, allocations: 4 kB / 0.8891 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.01626, allocations: 31.92 kB / 0.8891 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01627, allocations: 4 kB / 0.8891 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.01662, allocations: 51.89 kB / 0.8892 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.01664, allocations: 11.98 kB / 0.8892 GB, free: 11.5 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.0001584/0.0168, allocations: 180.5 kB / 0.8894 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.01685, allocations: 43.73 kB / 0.8894 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.0172, allocations: 204 kB / 0.8896 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.0172, allocations: 8 kB / 0.8896 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01721, allocations: 0 / 0.8896 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.01721, allocations: 3.984 kB / 0.8896 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.01747, allocations: 213.1 kB / 0.8898 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01747, allocations: 3.938 kB / 0.8898 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-05/0.01755, allocations: 16 kB / 0.8898 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01756, allocations: 3.938 kB / 0.8898 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.01757, allocations: 11.98 kB / 0.8899 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.01757, allocations: 0 / 0.8899 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01758, allocations: 3.938 kB / 0.8899 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.0181, allocations: 253.6 kB / 0.8901 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.01816, allocations: 39.73 kB / 0.8901 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.01819, allocations: 0 / 0.8901 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.01826, allocations: 4 kB / 0.8901 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.01832, allocations: 23.91 kB / 0.8902 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.01834, allocations: 4 kB / 0.8902 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002192/0.01856, allocations: 238.9 kB / 0.8904 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.41e-07/0.01856, allocations: 0 / 0.8904 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004004/0.01896, allocations: 75.89 kB / 0.8905 GB, free: 10.13 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.0002149/0.01917, allocations: 117 kB / 0.8906 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.01945, allocations: 133.3 kB / 0.8907 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01945, allocations: 4 kB / 0.8907 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.01956, allocations: 69.64 kB / 0.8908 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.01984, allocations: 32.64 kB / 0.8908 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.02073, allocations: 0.5454 MB / 0.8913 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.02083, allocations: 124.6 kB / 0.8915 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.02096, allocations: 38.28 kB / 0.8915 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.02121, allocations: 146.1 kB / 0.8916 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of SimCode: time 1.393e-06/0.02121, allocations: 4 kB / 0.8916 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of Templates: time 0.01064/0.03185, allocations: 5.498 MB / 0.897 GB, free: 3.461 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.406933457124978]