Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.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.001457/0.001457, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.00163/0.00163, allocations: 168.3 kB / 24.87 MB, free: 8.883 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.797/1.797, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.88e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002391/0.00242, allocations: 0.9998 MB / 0.7893 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.003871, allocations: 1.032 MB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.983e-05/0.003971, allocations: 4 kB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.415e-05/0.004025, allocations: 19.73 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.004161, allocations: 28.39 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.004417, allocations: 67.8 kB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.004618, allocations: 165.2 kB / 0.7906 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.004795, allocations: 60.73 kB / 0.7907 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.005081, allocations: 117.9 kB / 0.7908 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.732e-05/0.005179, allocations: 51.81 kB / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.005207, allocations: 12 kB / 0.7908 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.271e-05/0.00526, allocations: 20 kB / 0.7909 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.005291, allocations: 31.91 kB / 0.7909 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.005337, allocations: 43.83 kB / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.005548, allocations: 109.5 kB / 0.791 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.005552, allocations: 4 kB / 0.791 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005552, allocations: 3.938 kB / 0.791 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.005557, allocations: 0 / 0.791 GB, free: 9.418 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005828/0.00614, allocations: 473.5 kB / 0.7915 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.006178, allocations: 8.031 kB / 0.7915 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.00634, allocations: 40.78 kB / 0.7915 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.006571, allocations: 169.2 kB / 0.7917 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.006602, allocations: 12.38 kB / 0.7917 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.006625, allocations: 12.38 kB / 0.7917 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.006902, allocations: 123.9 kB / 0.7918 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.006914, allocations: 192 / 0.7918 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.006934, allocations: 9.75 kB / 0.7918 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.006945, allocations: 4.375 kB / 0.7919 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.007049, allocations: 49.31 kB / 0.7919 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.007686, allocations: 393.7 kB / 0.7923 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.007878, allocations: 83.05 kB / 0.7924 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.007925, allocations: 28.77 kB / 0.7924 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.007946, allocations: 4 kB / 0.7924 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.007976, allocations: 33.39 kB / 0.7924 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 3.777e-06/0.00798, allocations: 5.938 kB / 0.7924 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.000277/0.008257, allocations: 101.5 kB / 0.7925 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.008305, allocations: 55.41 kB / 0.7926 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.008485, allocations: 207.3 kB / 0.7928 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.008503, allocations: 29.64 kB / 0.7928 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.9e-05/0.008602, allocations: 177.7 kB / 0.793 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.008643, allocations: 35.69 kB / 0.793 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-05/0.008722, allocations: 47.33 kB / 0.793 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.008895, allocations: 0.4923 MB / 0.7935 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.008942, allocations: 11.98 kB / 0.7935 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.54e-05/0.009007, allocations: 57.11 kB / 0.7936 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.009124, allocations: 77.56 kB / 0.7937 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.009127, allocations: 0 / 0.7937 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002079/0.009335, allocations: 97.5 kB / 0.7938 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.00936, allocations: 12.59 kB / 0.7938 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.009368, allocations: 0.8438 kB / 0.7938 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.009383, allocations: 0 / 0.7938 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.009527, allocations: 24.77 kB / 0.7938 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.009532, allocations: 4 kB / 0.7938 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.009599, allocations: 21.17 kB / 0.7938 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.009612, allocations: 7.984 kB / 0.7938 GB, free: 6.348 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000119/0.009731, allocations: 161.4 kB / 0.794 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.009778, allocations: 23.84 kB / 0.794 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.009817, allocations: 16.78 kB / 0.794 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.00982, allocations: 5.031 kB / 0.794 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.009824, allocations: 0 / 0.794 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.009829, allocations: 0 / 0.794 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.01006, allocations: 142.5 kB / 0.7942 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01006, allocations: 0 / 0.7942 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.01015, allocations: 15.98 kB / 0.7942 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01016, allocations: 1.406 kB / 0.7942 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01017, allocations: 3.984 kB / 0.7942 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01017, allocations: 3.938 kB / 0.7942 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01017, allocations: 0 / 0.7942 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.01043, allocations: 251.1 kB / 0.7944 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.01045, allocations: 7.953 kB / 0.7944 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01047, allocations: 8 kB / 0.7944 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-05/0.01056, allocations: 3.938 kB / 0.7944 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.01063, allocations: 19.97 kB / 0.7945 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.01064, allocations: 0 / 0.7945 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002081/0.01085, allocations: 153.2 kB / 0.7946 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.01085, allocations: 0.5 kB / 0.7946 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003032/0.01115, allocations: 29.58 kB / 0.7946 GB, free: 5.477 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001674/0.01132, allocations: 105 kB / 0.7947 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.01151, allocations: 73.36 kB / 0.7948 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01151, allocations: 0 / 0.7948 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.01157, allocations: 35.61 kB / 0.7948 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.01188, allocations: 23.11 kB / 0.7949 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.01258, allocations: 268.2 kB / 0.7951 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.205e-05/0.01264, allocations: 66.66 kB / 0.7952 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.048e-05/0.01272, allocations: 16.27 kB / 0.7952 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.01282, allocations: 94.19 kB / 0.7953 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.01282, allocations: 3.938 kB / 0.7953 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of Templates: time 0.004286/0.0171, allocations: 1.404 MB / 0.7967 GB, free: 3.41 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.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.119423035066575]