Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.001064/0.001064, 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.0009889/0.0009889, 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.9756/0.9756, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.97/1.97, allocations: 377.9 MB / 0.624 GB, free: 8.336 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.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0.5469 kB / 0.76 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.218e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001835/0.001857, allocations: 0.9923 MB / 0.761 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003016, allocations: 1.037 MB / 0.762 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/0.003102, allocations: 5.594 kB / 0.762 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.003145, allocations: 15.75 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.003262, allocations: 29.14 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.003499, allocations: 69.5 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.003657, allocations: 171.2 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.00379, allocations: 63.28 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.004042, allocations: 115.7 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.004119, allocations: 49.56 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.004142, allocations: 16 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.979e-05/0.004192, allocations: 19.98 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.004218, allocations: 31.91 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.004253, allocations: 39.84 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.004435, allocations: 120.7 kB / 0.7627 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004438, allocations: 0 / 0.7627 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004439, allocations: 0 / 0.7627 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.004444, allocations: 0.6562 kB / 0.7627 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.0003979/0.004842, allocations: 345.6 kB / 0.7631 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.004874, allocations: 12.02 kB / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.004984, allocations: 28.92 kB / 0.7631 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.005137, allocations: 158.7 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.005157, allocations: 8.375 kB / 0.7633 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.005176, allocations: 16.38 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.005354, allocations: 124.6 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005362, allocations: 4.172 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.005373, allocations: 4.375 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.00538, allocations: 5.406 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.865e-05/0.005439, allocations: 49.27 kB / 0.7635 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.00581, allocations: 292.2 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.005922, allocations: 67.7 kB / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.005948, allocations: 21.56 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.005962, allocations: 0 / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.005986, allocations: 43.77 kB / 0.7639 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.005987, allocations: 0 / 0.7639 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0001509/0.006138, allocations: 77.61 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.006168, allocations: 51.91 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.006255, allocations: 159.3 kB / 0.7642 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.006268, allocations: 29.69 kB / 0.7642 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.006319, allocations: 121.1 kB / 0.7643 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.006341, allocations: 35.67 kB / 0.7643 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.006385, allocations: 43.44 kB / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.006459, allocations: 318.8 kB / 0.7647 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.006483, allocations: 15.98 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.006518, allocations: 43.34 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.637e-05/0.006584, allocations: 73.67 kB / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.006587, allocations: 0 / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.732e-05/0.006684, allocations: 88.75 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.006699, allocations: 13.66 kB / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.006703, allocations: 0 / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.006716, allocations: 0 / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.483e-05/0.006801, allocations: 27.92 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.006804, allocations: 4 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.006842, allocations: 11.94 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.006849, allocations: 7.031 kB / 0.7649 GB, free: 1.422 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 7e-05/0.006919, allocations: 119.7 kB / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.00694, allocations: 11.98 kB / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.006965, allocations: 16.72 kB / 0.7651 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.006968, allocations: 4 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.00697, allocations: 0 / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006973, allocations: 5.438 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.007091, allocations: 105.8 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007092, allocations: 0 / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.007136, allocations: 15.98 kB / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007139, allocations: 5.406 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.007144, allocations: 0 / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007145, allocations: 0 / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.007147, allocations: 3.938 kB / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.007268, allocations: 180.7 kB / 0.7654 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.007282, allocations: 23.84 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-06/0.007292, allocations: 0 / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-05/0.007334, allocations: 12.77 kB / 0.7654 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.007379, allocations: 19.91 kB / 0.7654 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.007383, allocations: 0.5 kB / 0.7654 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.339e-05/0.007407, allocations: 31.17 kB / 0.7655 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007407, allocations: 0 / 0.7655 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001469/0.007554, allocations: 33.33 kB / 0.7655 GB, free: 0.8047 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 9.402e-05/0.007648, allocations: 94.09 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.172e-05/0.00774, allocations: 48.78 kB / 0.7656 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.007743, allocations: 3.938 kB / 0.7657 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.00778, allocations: 40.78 kB / 0.7657 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.007923, allocations: 18.8 kB / 0.7657 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.008399, allocations: 261.1 kB / 0.766 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.008437, allocations: 67.84 kB / 0.766 GB, free: 236 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.805e-05/0.008495, allocations: 18.02 kB / 0.766 GB, free: 220 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.008565, allocations: 71.36 kB / 0.7661 GB, free: 148 kB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.008565, allocations: 1.5 kB / 0.7661 GB, free: 148 kB / 0.7136 GB Notification: Performance of Templates: time 0.003288/0.01185, allocations: 1.301 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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_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.197828801348805]