Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009914/0.0009914, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001038/0.001038, allocations: 161 kB / 24.17 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 1.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.903/1.903, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.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_12_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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.843e-05, allocations: 3.719 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001845/0.001873, allocations: 0.9964 MB / 0.761 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.003142, allocations: 1.046 MB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.003258, allocations: 1.656 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.903e-05/0.003317, allocations: 15.8 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.003471, allocations: 25.06 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.003789, allocations: 73.77 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.004012, allocations: 167 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.004185, allocations: 70.88 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.004493, allocations: 116.4 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.004589, allocations: 48.94 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.004623, allocations: 12 kB / 0.7626 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.004689, allocations: 16 kB / 0.7626 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.004725, allocations: 36.75 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.004776, allocations: 43.91 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.005054, allocations: 116.4 kB / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.005059, allocations: 0 / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.026e-06/0.005062, allocations: 0 / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.005069, allocations: 0.5312 kB / 0.7628 GB, free: 3.863 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.0007079/0.005777, allocations: 345.4 kB / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.005828, allocations: 8.031 kB / 0.7631 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.006016, allocations: 25.73 kB / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.006189, allocations: 161.5 kB / 0.7633 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.006213, allocations: 17.59 kB / 0.7633 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.00623, allocations: 12.38 kB / 0.7633 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.006405, allocations: 124.8 kB / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.006414, allocations: 192 / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.006426, allocations: 9.781 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.006431, allocations: 4.375 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.00649, allocations: 40.5 kB / 0.7635 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.006906, allocations: 288.3 kB / 0.7638 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.007024, allocations: 71.22 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.007058, allocations: 21.59 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.00708, allocations: 9.875 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.007105, allocations: 30.56 kB / 0.7639 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.854e-06/0.007107, allocations: 0 / 0.7639 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0001713/0.007278, allocations: 81.59 kB / 0.764 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.007316, allocations: 60.69 kB / 0.764 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/0.007415, allocations: 162.4 kB / 0.7642 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.007428, allocations: 29.7 kB / 0.7642 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.007477, allocations: 116.4 kB / 0.7643 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.007502, allocations: 32.98 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.007552, allocations: 41.67 kB / 0.7644 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.00765, allocations: 326.8 kB / 0.7647 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.007671, allocations: 9.25 kB / 0.7647 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.434e-05/0.007716, allocations: 43.36 kB / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.456e-05/0.00779, allocations: 62.58 kB / 0.7648 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.007793, allocations: 0 / 0.7648 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001253/0.007919, allocations: 89.97 kB / 0.7649 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.007935, allocations: 7.938 kB / 0.7649 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.007941, allocations: 0 / 0.7649 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.007957, allocations: 7.031 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.008052, allocations: 23.92 kB / 0.7649 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.008056, allocations: 0 / 0.7649 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.008099, allocations: 15.94 kB / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.008108, allocations: 7.984 kB / 0.7649 GB, free: 1.461 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 8.622e-05/0.008194, allocations: 124.2 kB / 0.7651 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.008215, allocations: 9.484 kB / 0.7651 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.008247, allocations: 20.72 kB / 0.7651 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.008251, allocations: 0 / 0.7651 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008255, allocations: 4 kB / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.00826, allocations: 4.656 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.0084, allocations: 109.8 kB / 0.7652 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.008401, allocations: 1.312 kB / 0.7652 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.008446, allocations: 15.98 kB / 0.7652 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.008447, allocations: 0 / 0.7652 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.008457, allocations: 10.42 kB / 0.7652 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.008459, allocations: 4 kB / 0.7652 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.008462, allocations: 3.938 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.008605, allocations: 167.5 kB / 0.7654 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.008627, allocations: 15.91 kB / 0.7654 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.008644, allocations: 7.984 kB / 0.7654 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.153e-05/0.008686, allocations: 6.938 kB / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.008744, allocations: 19.91 kB / 0.7654 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.00875, allocations: 4 kB / 0.7655 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.008781, allocations: 32.83 kB / 0.7655 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.008781, allocations: 0 / 0.7655 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001593/0.00894, allocations: 27.89 kB / 0.7655 GB, free: 0.8438 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 0.0001291/0.009069, allocations: 90.25 kB / 0.7656 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.009184, allocations: 66.05 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.009189, allocations: 4 kB / 0.7657 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.009225, allocations: 34.41 kB / 0.7657 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.009392, allocations: 17.86 kB / 0.7657 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.009907, allocations: 267.5 kB / 0.766 GB, free: 356 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.009947, allocations: 67.78 kB / 0.766 GB, free: 268 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.791e-05/0.01, allocations: 21.89 kB / 0.7661 GB, free: 248 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.01007, allocations: 71.36 kB / 0.7661 GB, free: 176 kB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/0.01007, allocations: 0.6562 kB / 0.7661 GB, free: 176 kB / 0.7136 GB Notification: Performance of Templates: time 0.003436/0.01351, allocations: 1.29 MB / 0.7674 GB, free: 14.99 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.042223853059113]