Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001307/0.001307, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00156/0.00156, allocations: 161.4 kB / 24.16 MB, free: 332 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.936/0.936, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.877/1.877, allocations: 377.9 MB / 0.624 GB, free: 8.301 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.76 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.408e-05, allocations: 2.312 kB / 0.76 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00143/0.001445, allocations: 1.005 MB / 0.761 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.002452, allocations: 1.033 MB / 0.762 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.002514, allocations: 4.656 kB / 0.762 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.002552, allocations: 16.77 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.002659, allocations: 26.05 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.002847, allocations: 72.45 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.002983, allocations: 166 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.003103, allocations: 70.02 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.003308, allocations: 117.6 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.003392, allocations: 47.81 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.003418, allocations: 16 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.873e-05/0.003456, allocations: 16 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.00348, allocations: 31.91 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.003513, allocations: 45.31 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.003678, allocations: 115.5 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003681, allocations: 0 / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003681, allocations: 3.938 kB / 0.7627 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003685, allocations: 1.25 kB / 0.7628 GB, free: 3.836 MB / 0.7136 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.0003919/0.004076, allocations: 348.2 kB / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.004112, allocations: 9.281 kB / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.00423, allocations: 32.91 kB / 0.7631 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.004385, allocations: 159 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.004405, allocations: 8.969 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.004423, allocations: 16.91 kB / 0.7633 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.004575, allocations: 120.7 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.004583, allocations: 5.594 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.004593, allocations: 4.375 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.004599, allocations: 4.375 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.273e-05/0.004652, allocations: 36.52 kB / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.004976, allocations: 300.8 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.005081, allocations: 71.95 kB / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.005105, allocations: 20.86 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.005118, allocations: 0 / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.005136, allocations: 35.31 kB / 0.7639 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 9.02e-07/0.005137, allocations: 3.938 kB / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0001333/0.005271, allocations: 86.28 kB / 0.764 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.005297, allocations: 52.16 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.005372, allocations: 158.5 kB / 0.7642 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.005383, allocations: 31.89 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.005425, allocations: 120.3 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.005448, allocations: 31.73 kB / 0.7643 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.005494, allocations: 41.67 kB / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.005569, allocations: 322.8 kB / 0.7647 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.005588, allocations: 12 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.005624, allocations: 46.45 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.005685, allocations: 70.16 kB / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.005686, allocations: 0 / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.643e-05/0.005773, allocations: 81.55 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005785, allocations: 15.06 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.00579, allocations: 3.984 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.005801, allocations: 0 / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.005875, allocations: 19.98 kB / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.005879, allocations: 4 kB / 0.7649 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.005913, allocations: 15.89 kB / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.005919, allocations: 4 kB / 0.7649 GB, free: 1.43 MB / 0.7136 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 6.104e-05/0.00598, allocations: 121.5 kB / 0.7651 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.005999, allocations: 11.98 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.006023, allocations: 16.72 kB / 0.7651 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.006026, allocations: 4 kB / 0.7651 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.006028, allocations: 7.234 kB / 0.7651 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.00603, allocations: 0 / 0.7651 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.006133, allocations: 105.8 kB / 0.7652 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.006134, allocations: 0 / 0.7652 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.006171, allocations: 15.98 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.006173, allocations: 4 kB / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.00618, allocations: 8 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.006182, allocations: 3.938 kB / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.006185, allocations: 3.938 kB / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.976e-05/0.006284, allocations: 170.3 kB / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.006295, allocations: 15.91 kB / 0.7654 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.006306, allocations: 4 kB / 0.7654 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.006346, allocations: 4 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.006398, allocations: 23.84 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.006402, allocations: 0 / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.00643, allocations: 40.06 kB / 0.7655 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00643, allocations: 0 / 0.7655 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001333/0.006564, allocations: 31.89 kB / 0.7655 GB, free: 0.8125 MB / 0.7136 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 8.038e-05/0.006644, allocations: 88.89 kB / 0.7656 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.006744, allocations: 62.02 kB / 0.7657 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.006747, allocations: 0 / 0.7657 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.00678, allocations: 37.69 kB / 0.7657 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.006919, allocations: 14.08 kB / 0.7657 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.00736, allocations: 267 kB / 0.766 GB, free: 332 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.988e-05/0.007399, allocations: 72.86 kB / 0.766 GB, free: 240 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.394e-05/0.007453, allocations: 21.22 kB / 0.766 GB, free: 220 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.007516, allocations: 76.34 kB / 0.7661 GB, free: 144 kB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.007517, allocations: 0 / 0.7661 GB, free: 144 kB / 0.7136 GB Notification: Performance of Templates: time 0.002861/0.01038, allocations: 1.292 MB / 0.7674 GB, free: 14.95 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 4.88911650609225]