Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001063/0.001063, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001682/0.001682, allocations: 169 kB / 24.28 MB, free: 276 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 1.025/1.025, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.757/1.757, allocations: 359 MB / 0.6055 GB, free: 11.02 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.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_11_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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.243e-05, allocations: 3.625 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001905/0.001928, allocations: 1.007 MB / 0.7881 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.002959, allocations: 1.031 MB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.003029, allocations: 0 / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.003066, allocations: 15.8 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.003e-05/0.003156, allocations: 28.58 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.003342, allocations: 72.67 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.003481, allocations: 168.1 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.003614, allocations: 59.2 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.003809, allocations: 107.7 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.00388, allocations: 59.8 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.003902, allocations: 16 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.003944, allocations: 20 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.003968, allocations: 31.91 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.004009, allocations: 53.58 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.004174, allocations: 123.4 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.004177, allocations: 4 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004178, allocations: 0 / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.00419, allocations: 0 / 0.7898 GB, free: 10 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.0004663/0.004656, allocations: 468.5 kB / 0.7903 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.00469, allocations: 9.375 kB / 0.7903 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.00482, allocations: 40.78 kB / 0.7903 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.005063, allocations: 192.1 kB / 0.7905 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.005086, allocations: 12.38 kB / 0.7905 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.005103, allocations: 12.38 kB / 0.7905 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.005298, allocations: 135.9 kB / 0.7907 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.005306, allocations: 192 / 0.7907 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.005319, allocations: 4.375 kB / 0.7907 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.005328, allocations: 4.375 kB / 0.7907 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.005429, allocations: 58.72 kB / 0.7907 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.005887, allocations: 427.3 kB / 0.7911 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.006036, allocations: 93.66 kB / 0.7912 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.006079, allocations: 27.67 kB / 0.7913 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.006093, allocations: 0 / 0.7913 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.006112, allocations: 37.39 kB / 0.7913 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.006114, allocations: 0 / 0.7913 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002123/0.006326, allocations: 113.5 kB / 0.7914 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.006356, allocations: 51.94 kB / 0.7915 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.006469, allocations: 220.2 kB / 0.7917 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.006483, allocations: 25.7 kB / 0.7917 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.006554, allocations: 175.6 kB / 0.7919 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.006577, allocations: 31.73 kB / 0.7919 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.006625, allocations: 45.02 kB / 0.7919 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.006763, allocations: 0.4923 MB / 0.7924 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.006801, allocations: 15.98 kB / 0.7924 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.00686, allocations: 62.11 kB / 0.7925 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.526e-05/0.006945, allocations: 77.58 kB / 0.7926 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006947, allocations: 0 / 0.7926 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001414/0.007089, allocations: 126.7 kB / 0.7927 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.007108, allocations: 4 kB / 0.7927 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.007113, allocations: 0 / 0.7927 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.007126, allocations: 4.844 kB / 0.7927 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.066e-05/0.007216, allocations: 19.98 kB / 0.7927 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.007222, allocations: 0.8438 kB / 0.7927 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.007264, allocations: 23.91 kB / 0.7927 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.007272, allocations: 5.281 kB / 0.7927 GB, free: 6.82 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.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.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 7.951e-05/0.007351, allocations: 164.5 kB / 0.7929 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.007375, allocations: 20.69 kB / 0.7929 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.007403, allocations: 12.78 kB / 0.7929 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.007406, allocations: 5.219 kB / 0.7929 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.007409, allocations: 0 / 0.7929 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.007415, allocations: 3.984 kB / 0.7929 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.007548, allocations: 165.9 kB / 0.7931 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007549, allocations: 0 / 0.7931 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.007592, allocations: 15.98 kB / 0.7931 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.007596, allocations: 7.938 kB / 0.7931 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.007605, allocations: 5.625 kB / 0.7931 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.007607, allocations: 3.938 kB / 0.7931 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007608, allocations: 0 / 0.7931 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.007769, allocations: 247.8 kB / 0.7934 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.00778, allocations: 14.61 kB / 0.7934 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.007795, allocations: 3.938 kB / 0.7934 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.00784, allocations: 11.98 kB / 0.7934 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.007892, allocations: 11.98 kB / 0.7934 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.0079, allocations: 7.984 kB / 0.7934 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.007955, allocations: 145.2 kB / 0.7935 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007955, allocations: 0 / 0.7935 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001579/0.008113, allocations: 28.39 kB / 0.7936 GB, free: 5.91 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 7.562e-05/0.008188, allocations: 109.1 kB / 0.7937 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.008323, allocations: 76.62 kB / 0.7937 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008324, allocations: 0 / 0.7937 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.318e-05/0.008378, allocations: 40.27 kB / 0.7938 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.008571, allocations: 30.61 kB / 0.7938 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007125/0.009283, allocations: 270.5 kB / 0.7941 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.468e-05/0.009338, allocations: 67.84 kB / 0.7941 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.969e-05/0.009417, allocations: 17.17 kB / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.009476, allocations: 24.48 kB / 0.7942 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of SimCode: time 1.604e-06/0.009477, allocations: 0 / 0.7942 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.003883/0.01336, allocations: 1.271 MB / 0.7954 GB, free: 4.031 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.256273025879636]