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.001045/0.001045, 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.001056/0.001056, allocations: 165 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.9923/0.9923, allocations: 177.1 MB / 204.6 MB, free: 5.504 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.977/1.977, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] 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.393e-06/1.393e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.358e-05, allocations: 6.141 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00152/0.001534, allocations: 1.044 MB / 0.7611 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.002498, allocations: 1.036 MB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.002554, allocations: 4 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.002588, allocations: 15.8 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.475e-05/0.002683, allocations: 28.61 kB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.002842, allocations: 65.69 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.002973, allocations: 168.2 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.003089, allocations: 66.02 kB / 0.7625 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.003283, allocations: 116.2 kB / 0.7626 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.003348, allocations: 48.78 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.003369, allocations: 16 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.399e-05/0.003423, allocations: 20.59 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.003444, allocations: 27.91 kB / 0.7627 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.003476, allocations: 48.48 kB / 0.7627 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.003612, allocations: 116.5 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003614, allocations: 0 / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003614, allocations: 0 / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003618, allocations: 4.625 kB / 0.7628 GB, free: 3.793 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.000303/0.003921, allocations: 346 kB / 0.7632 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.003951, allocations: 12.03 kB / 0.7632 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.004042, allocations: 32.89 kB / 0.7632 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.004169, allocations: 153.5 kB / 0.7634 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.004184, allocations: 9.594 kB / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.004197, allocations: 16.38 kB / 0.7634 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.004331, allocations: 124.2 kB / 0.7635 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.004337, allocations: 1.125 kB / 0.7635 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.004345, allocations: 4.375 kB / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.00435, allocations: 5.25 kB / 0.7635 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.427e-05/0.004405, allocations: 40.52 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.0047, allocations: 300.3 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.004786, allocations: 63.42 kB / 0.7639 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.00481, allocations: 25.45 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.004819, allocations: 1.938 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.004836, allocations: 34.56 kB / 0.764 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.004837, allocations: 0 / 0.764 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0001136/0.004951, allocations: 89.86 kB / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.004972, allocations: 51.41 kB / 0.7641 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.315e-05/0.005045, allocations: 161.6 kB / 0.7642 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.005056, allocations: 29.7 kB / 0.7643 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.005098, allocations: 120.4 kB / 0.7644 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.005121, allocations: 31.72 kB / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.005163, allocations: 45.67 kB / 0.7645 GB, free: 2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.005235, allocations: 318.8 kB / 0.7648 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.005255, allocations: 12 kB / 0.7648 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.419e-05/0.005289, allocations: 43.34 kB / 0.7648 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.005349, allocations: 69.81 kB / 0.7649 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.005351, allocations: 0 / 0.7649 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.526e-05/0.005437, allocations: 86.67 kB / 0.765 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.005449, allocations: 11.94 kB / 0.765 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.005454, allocations: 4.859 kB / 0.765 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.005466, allocations: 0 / 0.765 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.569e-05/0.005542, allocations: 25.14 kB / 0.765 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.005546, allocations: 0 / 0.765 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.005585, allocations: 15.95 kB / 0.765 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.005591, allocations: 1.969 kB / 0.765 GB, free: 1.391 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.255e-05/0.005654, allocations: 131.6 kB / 0.7651 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.005673, allocations: 4 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.005696, allocations: 24.7 kB / 0.7652 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.005699, allocations: 6.75 kB / 0.7652 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.0057, allocations: 0 / 0.7652 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005702, allocations: 0 / 0.7652 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.005807, allocations: 109.8 kB / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005807, allocations: 0 / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.005849, allocations: 15.98 kB / 0.7653 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.00585, allocations: 3.938 kB / 0.7653 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.005858, allocations: 9.688 kB / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.005858, allocations: 0 / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.00586, allocations: 3.938 kB / 0.7653 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.781e-05/0.005958, allocations: 167.4 kB / 0.7655 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.005967, allocations: 12.72 kB / 0.7655 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.005979, allocations: 8 kB / 0.7655 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.00602, allocations: 10.02 kB / 0.7655 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.006063, allocations: 19.92 kB / 0.7655 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.00607, allocations: 7.984 kB / 0.7655 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.014e-05/0.00609, allocations: 30.52 kB / 0.7656 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00609, allocations: 0 / 0.7656 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000133/0.006223, allocations: 27.89 kB / 0.7656 GB, free: 0.7695 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 6.86e-05/0.006292, allocations: 89.67 kB / 0.7657 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.654e-05/0.006378, allocations: 61.86 kB / 0.7657 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.006381, allocations: 0.7188 kB / 0.7657 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.006413, allocations: 28.84 kB / 0.7658 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.006548, allocations: 26.14 kB / 0.7658 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.006959, allocations: 262.1 kB / 0.766 GB, free: 284 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.775e-05/0.006997, allocations: 73.02 kB / 0.7661 GB, free: 192 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.504e-05/0.007052, allocations: 23.44 kB / 0.7661 GB, free: 172 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.00712, allocations: 71.36 kB / 0.7662 GB, free: 100 kB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.007121, allocations: 0 / 0.7662 GB, free: 100 kB / 0.7136 GB Notification: Performance of Templates: time 0.002931/0.01005, allocations: 1.303 MB / 0.7675 GB, free: 14.91 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 -s gbode -gbm=radauIIA3 -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: 5.046886677388102]