Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.001383/0.001383, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001661/0.001661, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9596/0.9596, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.331/2.331, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.564e-06/2.564e-06, allocations: 0 / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.939e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002874/0.002904, allocations: 0.993 MB / 0.8908 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.00458, allocations: 1.038 MB / 0.8918 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.00471, allocations: 0 / 0.8918 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.783e-05/0.004768, allocations: 15.8 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.004909, allocations: 27.69 kB / 0.8918 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.005218, allocations: 71.86 kB / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.005484, allocations: 164.1 kB / 0.892 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.005672, allocations: 60.73 kB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.005985, allocations: 119.6 kB / 0.8922 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.006081, allocations: 51.81 kB / 0.8923 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.006109, allocations: 12 kB / 0.8923 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.00617, allocations: 16 kB / 0.8923 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.006202, allocations: 35.84 kB / 0.8923 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.006249, allocations: 47.84 kB / 0.8924 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.006472, allocations: 107.5 kB / 0.8925 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.006476, allocations: 7.984 kB / 0.8925 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.61e-07/0.006477, allocations: 0 / 0.8925 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.006482, allocations: 0 / 0.8925 GB, free: 6.922 MB / 0.8542 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.0006657/0.007147, allocations: 475.8 kB / 0.8929 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.007193, allocations: 16.61 kB / 0.8929 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.007394, allocations: 36.8 kB / 0.893 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.007589, allocations: 168.3 kB / 0.8931 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.007619, allocations: 12.38 kB / 0.8931 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.007639, allocations: 12.38 kB / 0.8932 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.007878, allocations: 124.4 kB / 0.8933 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007888, allocations: 192 / 0.8933 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.007904, allocations: 8.375 kB / 0.8933 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.007913, allocations: 4.375 kB / 0.8933 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.412e-05/0.008007, allocations: 48.22 kB / 0.8933 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.008596, allocations: 407.8 kB / 0.8937 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.008752, allocations: 75.11 kB / 0.8938 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.008793, allocations: 35.67 kB / 0.8938 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.008814, allocations: 4 kB / 0.8938 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.008837, allocations: 41.27 kB / 0.8939 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.008839, allocations: 0 / 0.8939 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002195/0.009058, allocations: 101.5 kB / 0.894 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.009091, allocations: 51.41 kB / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.009233, allocations: 207.5 kB / 0.8942 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.009252, allocations: 29.7 kB / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.009339, allocations: 183 kB / 0.8944 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.00937, allocations: 31.7 kB / 0.8945 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.009433, allocations: 47.33 kB / 0.8945 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.009582, allocations: 0.4923 MB / 0.895 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.009625, allocations: 11.98 kB / 0.895 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.009685, allocations: 58.66 kB / 0.895 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.349e-05/0.009779, allocations: 70.66 kB / 0.8951 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.009781, allocations: 0 / 0.8951 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001686/0.00995, allocations: 105.5 kB / 0.8952 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.009968, allocations: 7.938 kB / 0.8952 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.009973, allocations: 0 / 0.8952 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.009988, allocations: 4 kB / 0.8952 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.01011, allocations: 23.92 kB / 0.8952 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01012, allocations: 7.984 kB / 0.8953 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.01018, allocations: 15.89 kB / 0.8953 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.01019, allocations: 4 kB / 0.8953 GB, free: 3.82 MB / 0.8542 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.0001014/0.01029, allocations: 164.7 kB / 0.8954 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.01033, allocations: 19.89 kB / 0.8955 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.01037, allocations: 16.77 kB / 0.8955 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01037, allocations: 4 kB / 0.8955 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01037, allocations: 0 / 0.8955 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01038, allocations: 0 / 0.8955 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.01056, allocations: 141.1 kB / 0.8956 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01056, allocations: 0 / 0.8956 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/0.01065, allocations: 19.92 kB / 0.8956 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01065, allocations: 4 kB / 0.8956 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.01066, allocations: 4 kB / 0.8956 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01066, allocations: 3.938 kB / 0.8956 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01066, allocations: 0 / 0.8956 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.01087, allocations: 235.8 kB / 0.8959 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.01089, allocations: 11.91 kB / 0.8959 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.0109, allocations: 4 kB / 0.8959 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.01097, allocations: 15.92 kB / 0.8959 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.01105, allocations: 15.97 kB / 0.8959 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.01106, allocations: 4 kB / 0.8959 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.269e-05/0.01113, allocations: 149.2 kB / 0.8961 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01113, allocations: 4 kB / 0.8961 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002576/0.01139, allocations: 31.89 kB / 0.8961 GB, free: 2.93 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: 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.0001318/0.01152, allocations: 103.2 kB / 0.8962 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.01168, allocations: 64.19 kB / 0.8962 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01168, allocations: 0 / 0.8962 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.01176, allocations: 47.75 kB / 0.8963 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.01205, allocations: 19.69 kB / 0.8963 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.01269, allocations: 266.9 kB / 0.8966 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.024e-05/0.01274, allocations: 71.83 kB / 0.8966 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.579e-05/0.01282, allocations: 21.12 kB / 0.8967 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/0.01291, allocations: 90.2 kB / 0.8967 GB, free: 2.199 MB / 0.8542 GB Notification: Performance of SimCode: time 7.22e-07/0.01291, allocations: 0 / 0.8967 GB, free: 2.199 MB / 0.8542 GB Notification: Performance of Templates: time 0.004514/0.01743, allocations: 1.38 MB / 0.8981 GB, free: 0.8867 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.243070073891431]