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.001156/0.001156, allocations: 73.97 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.001089/0.001089, allocations: 169.4 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.9694/0.9694, 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.071/2.071, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.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.775e-06/2.775e-06, allocations: 0 / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.095e-05, allocations: 3.562 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002551/0.002582, allocations: 0.9982 MB / 0.8804 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.004116, allocations: 1.027 MB / 0.8814 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.004239, allocations: 4 kB / 0.8814 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.874e-05/0.004298, allocations: 12.31 kB / 0.8814 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.00445, allocations: 39.08 kB / 0.8815 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.00474, allocations: 67.8 kB / 0.8815 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.004951, allocations: 164.1 kB / 0.8817 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.005139, allocations: 56.73 kB / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.005465, allocations: 111.7 kB / 0.8819 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.005568, allocations: 47.81 kB / 0.8819 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.005598, allocations: 16 kB / 0.8819 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.085e-05/0.005658, allocations: 30.34 kB / 0.8819 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.005691, allocations: 27.86 kB / 0.882 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.005738, allocations: 39.91 kB / 0.882 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.00597, allocations: 115.5 kB / 0.8821 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.005975, allocations: 0 / 0.8821 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/0.005976, allocations: 0 / 0.8821 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.005981, allocations: 1.594 kB / 0.8821 GB, free: 3.266 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005565/0.006538, allocations: 475.9 kB / 0.8826 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.006578, allocations: 8.031 kB / 0.8826 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.006731, allocations: 42.77 kB / 0.8826 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.006933, allocations: 172.3 kB / 0.8828 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.006957, allocations: 8.375 kB / 0.8828 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.006978, allocations: 16.38 kB / 0.8828 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.00722, allocations: 118.2 kB / 0.8829 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.007233, allocations: 8.172 kB / 0.8829 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.007249, allocations: 4.375 kB / 0.8829 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.007258, allocations: 4.375 kB / 0.8829 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.568e-05/0.007353, allocations: 44.95 kB / 0.883 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.00789, allocations: 407.8 kB / 0.8834 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.008052, allocations: 81.53 kB / 0.8834 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.008094, allocations: 27.67 kB / 0.8835 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.00811, allocations: 0 / 0.8835 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.008135, allocations: 37.39 kB / 0.8835 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/0.008137, allocations: 1.344 kB / 0.8835 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002287/0.008366, allocations: 105.4 kB / 0.8836 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.008403, allocations: 55.41 kB / 0.8837 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.008542, allocations: 218.9 kB / 0.8839 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.008557, allocations: 25.7 kB / 0.8839 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.008642, allocations: 171.1 kB / 0.8841 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.008674, allocations: 31.73 kB / 0.8841 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.008738, allocations: 55.28 kB / 0.8841 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.008887, allocations: 0.4884 MB / 0.8846 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/0.008926, allocations: 15.98 kB / 0.8846 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-05/0.008986, allocations: 53.81 kB / 0.8847 GB, free: 448 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.41e-05/0.00908, allocations: 74.61 kB / 0.8848 GB, free: 356 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.009082, allocations: 0 / 0.8848 GB, free: 356 kB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001609/0.009243, allocations: 101.5 kB / 0.8849 GB, free: 248 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.009258, allocations: 11.94 kB / 0.8849 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.009264, allocations: 0 / 0.8849 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.009273, allocations: 0 / 0.8849 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.009387, allocations: 23.98 kB / 0.8849 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.00939, allocations: 0 / 0.8849 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.009451, allocations: 23.97 kB / 0.8849 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.009461, allocations: 4 kB / 0.8849 GB, free: 184 kB / 0.8386 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.0001013/0.009562, allocations: 174.4 kB / 0.8851 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.009616, allocations: 15.94 kB / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.009647, allocations: 20.72 kB / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.009649, allocations: 0 / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.009651, allocations: 3.938 kB / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.009654, allocations: 0 / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.009846, allocations: 145.1 kB / 0.8853 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009848, allocations: 4 kB / 0.8853 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/0.009922, allocations: 15.98 kB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.009925, allocations: 0 / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.009935, allocations: 8 kB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.009939, allocations: 7.938 kB / 0.8853 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.009943, allocations: 3.938 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.01015, allocations: 231.9 kB / 0.8855 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.01016, allocations: 11.91 kB / 0.8855 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.01018, allocations: 4 kB / 0.8855 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.01025, allocations: 15.92 kB / 0.8855 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.0103, allocations: 23.91 kB / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.0103, allocations: 0 / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.01037, allocations: 140.7 kB / 0.8857 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01037, allocations: 0 / 0.8857 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002861/0.01066, allocations: 27.89 kB / 0.8857 GB, free: 15.29 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.0001423/0.0108, allocations: 113.6 kB / 0.8858 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.01095, allocations: 60.23 kB / 0.8859 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01095, allocations: 8.188 kB / 0.8859 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.927e-05/0.01101, allocations: 35.67 kB / 0.8859 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.01131, allocations: 21.02 kB / 0.886 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.01193, allocations: 277.2 kB / 0.8862 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.01198, allocations: 71.83 kB / 0.8863 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.74e-05/0.01206, allocations: 17.16 kB / 0.8863 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-05/0.01215, allocations: 98.12 kB / 0.8864 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.01215, allocations: 0 / 0.8864 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.00426/0.01641, allocations: 1.397 MB / 0.8878 GB, free: 13.2 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.264590612147003]