Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.0009681/0.0009681, 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.00119/0.00119, 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 0.9969/0.9969, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.993/1.993, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.DualDuctMixConInletSensor.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.806e-05, allocations: 5.406 kB / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002878/0.002906, allocations: 1.105 MB / 0.7611 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.004664, allocations: 1.084 MB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.004792, allocations: 4 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.034e-05/0.004862, allocations: 25.81 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.005031, allocations: 39.02 kB / 0.7623 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.005339, allocations: 84.56 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.005623, allocations: 236.6 kB / 0.7626 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.005849, allocations: 104.3 kB / 0.7627 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.006214, allocations: 155.6 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.00633, allocations: 60.33 kB / 0.7629 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.006368, allocations: 21.03 kB / 0.7629 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.006436, allocations: 28 kB / 0.7629 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.006476, allocations: 47.83 kB / 0.763 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.006523, allocations: 52.38 kB / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.006733, allocations: 160.7 kB / 0.7632 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.006736, allocations: 0 / 0.7632 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006738, allocations: 0 / 0.7632 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.006742, allocations: 3.938 kB / 0.7632 GB, free: 3.449 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004423/0.007184, allocations: 401 kB / 0.7636 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.007218, allocations: 9.25 kB / 0.7636 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.00735, allocations: 40.91 kB / 0.7636 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.007525, allocations: 179.7 kB / 0.7638 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.007548, allocations: 12.88 kB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.007567, allocations: 20.38 kB / 0.7638 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.007747, allocations: 154.5 kB / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.007754, allocations: 192 / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.007769, allocations: 17.11 kB / 0.764 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.007774, allocations: 4.375 kB / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.007843, allocations: 56.11 kB / 0.764 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.008267, allocations: 372.5 kB / 0.7644 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.008406, allocations: 96.02 kB / 0.7645 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.008437, allocations: 24.86 kB / 0.7645 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.008455, allocations: 4 kB / 0.7645 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.008477, allocations: 35.8 kB / 0.7645 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 1.173e-06/0.008478, allocations: 0 / 0.7645 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0001742/0.008653, allocations: 108.3 kB / 0.7646 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.008683, allocations: 55.41 kB / 0.7647 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.008787, allocations: 182.5 kB / 0.7649 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.008802, allocations: 30.95 kB / 0.7649 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.008867, allocations: 140.4 kB / 0.765 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.008898, allocations: 47.56 kB / 0.7651 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.008948, allocations: 53.66 kB / 0.7651 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.009048, allocations: 337.8 kB / 0.7654 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/0.009074, allocations: 12 kB / 0.7655 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.101e-05/0.009125, allocations: 61.12 kB / 0.7655 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.999e-05/0.009215, allocations: 101.7 kB / 0.7656 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009217, allocations: 0 / 0.7656 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001144/0.009332, allocations: 105.5 kB / 0.7657 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.009349, allocations: 13.7 kB / 0.7657 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009353, allocations: 0 / 0.7657 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.009365, allocations: 5.5 kB / 0.7657 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.009459, allocations: 27.92 kB / 0.7658 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.009464, allocations: 3.938 kB / 0.7658 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.009512, allocations: 24.55 kB / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.009522, allocations: 7.984 kB / 0.7658 GB, free: 0.5977 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y,actAirSet.setBacMod.y,actAirSet.warUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.284e-05/0.009605, allocations: 128 kB / 0.7659 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.009627, allocations: 11.98 kB / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.009656, allocations: 24.25 kB / 0.7659 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009658, allocations: 0 / 0.7659 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.009662, allocations: 3.938 kB / 0.766 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.009665, allocations: 4 kB / 0.766 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.009793, allocations: 125.8 kB / 0.7661 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.009794, allocations: 0 / 0.7661 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.009844, allocations: 26.61 kB / 0.7661 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009846, allocations: 0 / 0.7661 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.009852, allocations: 0 / 0.7661 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009853, allocations: 4 kB / 0.7661 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009854, allocations: 3.938 kB / 0.7661 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.009985, allocations: 199.2 kB / 0.7663 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.009997, allocations: 15.84 kB / 0.7663 GB, free: 20 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.01001, allocations: 4.906 kB / 0.7663 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.01005, allocations: 4 kB / 0.7663 GB, free: 12 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.01014, allocations: 25.08 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.01015, allocations: 0 / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.01018, allocations: 42.75 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01018, allocations: 1.938 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000151/0.01033, allocations: 43.83 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001058/0.01044, allocations: 94.8 kB / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.01055, allocations: 82.22 kB / 0.7666 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.01056, allocations: 0 / 0.7666 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-05/0.0106, allocations: 44.77 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.01076, allocations: 21.84 kB / 0.7667 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.0113, allocations: 337.1 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.02e-05/0.01134, allocations: 75.92 kB / 0.7671 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.443e-05/0.0114, allocations: 22.48 kB / 0.7671 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.01148, allocations: 75.92 kB / 0.7672 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of SimCode: time 1.042e-06/0.01148, allocations: 1.5 kB / 0.7672 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.003485/0.01496, allocations: 1.548 MB / 0.7687 GB, free: 13.7 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.167665810324252]