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.000965/0.000965, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009338/0.0009338, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9222/0.9222, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.728/1.728, allocations: 359 MB / 0.6052 GB, free: 11.01 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 2.996e-06/2.996e-06, allocations: 1.094 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.2e-05, allocations: 4.422 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.005148/0.00518, allocations: 1.022 MB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.006347, allocations: 1.035 MB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.006421, allocations: 0 / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.364e-05/0.006475, allocations: 21.48 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.006594, allocations: 27.69 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.006864, allocations: 71.8 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.007035, allocations: 164.1 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/0.01023, allocations: 61.56 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.01055, allocations: 116.3 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.851e-05/0.01064, allocations: 43.88 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.01067, allocations: 17.38 kB / 0.7896 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-05/0.01072, allocations: 19.98 kB / 0.7897 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.01075, allocations: 31.86 kB / 0.7897 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.0108, allocations: 41.22 kB / 0.7897 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.01103, allocations: 123.4 kB / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.01104, allocations: 0 / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.273e-06/0.01104, allocations: 0 / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.01104, allocations: 1.062 kB / 0.7898 GB, free: 9.656 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.0005428/0.01159, allocations: 468 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.01163, allocations: 13.41 kB / 0.7903 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.01179, allocations: 32.8 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.01198, allocations: 176.2 kB / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.01201, allocations: 9.969 kB / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.01203, allocations: 16.38 kB / 0.7905 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.01228, allocations: 130.7 kB / 0.7907 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.01229, allocations: 1.781 kB / 0.7907 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.01231, allocations: 4.375 kB / 0.7907 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.01231, allocations: 4.375 kB / 0.7907 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.01243, allocations: 60.72 kB / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.01297, allocations: 426 kB / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.01422, allocations: 87.12 kB / 0.7912 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.01428, allocations: 27.67 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.0143, allocations: 4 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.01433, allocations: 38.11 kB / 0.7913 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 3.016e-06/0.01433, allocations: 0 / 0.7913 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002829/0.01462, allocations: 119.1 kB / 0.7914 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.01465, allocations: 55.41 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.0148, allocations: 211.5 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.01481, allocations: 25.7 kB / 0.7917 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.01489, allocations: 172.5 kB / 0.7918 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.01492, allocations: 35.69 kB / 0.7919 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.01497, allocations: 47.36 kB / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.01509, allocations: 0.4895 MB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/0.01514, allocations: 19.98 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.0152, allocations: 61.62 kB / 0.7925 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.705e-05/0.01528, allocations: 76.05 kB / 0.7925 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.01529, allocations: 5.75 kB / 0.7925 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001391/0.01543, allocations: 105.5 kB / 0.7926 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01544, allocations: 5.062 kB / 0.7927 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01545, allocations: 0 / 0.7927 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.01546, allocations: 4 kB / 0.7927 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.01558, allocations: 29.77 kB / 0.7927 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01558, allocations: 7.938 kB / 0.7927 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.01563, allocations: 15.89 kB / 0.7927 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.01564, allocations: 7.984 kB / 0.7927 GB, free: 6.496 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 9.112e-05/0.01573, allocations: 164.3 kB / 0.7929 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.01576, allocations: 27.78 kB / 0.7929 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.01579, allocations: 16.78 kB / 0.7929 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01579, allocations: 0 / 0.7929 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.0158, allocations: 0.5938 kB / 0.7929 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.0158, allocations: 3.984 kB / 0.7929 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.01596, allocations: 161.1 kB / 0.7931 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01596, allocations: 0.7188 kB / 0.7931 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.01602, allocations: 23.98 kB / 0.7931 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01602, allocations: 4.469 kB / 0.7931 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.01603, allocations: 5.453 kB / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01603, allocations: 0 / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01603, allocations: 0 / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.01622, allocations: 248.2 kB / 0.7933 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.01624, allocations: 8.484 kB / 0.7934 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.01625, allocations: 8.844 kB / 0.7934 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.0163, allocations: 4 kB / 0.7934 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.01636, allocations: 15.97 kB / 0.7934 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01637, allocations: 8.828 kB / 0.7934 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.01643, allocations: 148.7 kB / 0.7935 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01643, allocations: 1.344 kB / 0.7935 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000168/0.0166, allocations: 27.89 kB / 0.7936 GB, free: 5.586 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.0001231/0.01672, allocations: 100.4 kB / 0.7937 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.01689, allocations: 81.47 kB / 0.7937 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01689, allocations: 0 / 0.7937 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.164e-05/0.01694, allocations: 43.61 kB / 0.7938 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.01716, allocations: 22.83 kB / 0.7938 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.01783, allocations: 270.4 kB / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.363e-05/0.01788, allocations: 67.84 kB / 0.7941 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.344e-05/0.01794, allocations: 24.47 kB / 0.7941 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.018, allocations: 28.48 kB / 0.7942 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.018, allocations: 1.344 kB / 0.7942 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.003668/0.02167, allocations: 1.314 MB / 0.7955 GB, free: 3.664 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: 4.971608093939722]