Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.001109/0.001109, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001083/0.001083, allocations: 177 kB / 23.49 MB, free: 1.055 MB / 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.9735/0.9735, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.137/2.137, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DualDuctSnapActing.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.696e-06/2.696e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.38e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002822/0.002855, allocations: 1.132 MB / 0.8793 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.004482, allocations: 1.071 MB / 0.8804 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.004628, allocations: 4 kB / 0.8804 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.792e-05/0.004686, allocations: 27.66 kB / 0.8804 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.004813, allocations: 35.8 kB / 0.8804 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.005113, allocations: 87.84 kB / 0.8805 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.005333, allocations: 224.2 kB / 0.8807 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.005527, allocations: 100.6 kB / 0.8808 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.005819, allocations: 135.7 kB / 0.881 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.00594, allocations: 79.66 kB / 0.881 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.316e-05/0.005994, allocations: 24 kB / 0.8811 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.79e-05/0.006072, allocations: 31.98 kB / 0.8811 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.006104, allocations: 51.83 kB / 0.8811 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.00616, allocations: 64.45 kB / 0.8812 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.006417, allocations: 170.7 kB / 0.8814 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.006424, allocations: 0 / 0.8814 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.539e-06/0.006429, allocations: 4.781 kB / 0.8814 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.006437, allocations: 0 / 0.8814 GB, free: 3.379 MB / 0.8386 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.0005994/0.007037, allocations: 0.5165 MB / 0.8819 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.007086, allocations: 8.031 kB / 0.8819 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.007291, allocations: 49.66 kB / 0.8819 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.007659, allocations: 208.8 kB / 0.8821 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.007695, allocations: 20.88 kB / 0.8821 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.007719, allocations: 17.91 kB / 0.8822 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.008059, allocations: 169.3 kB / 0.8823 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.008072, allocations: 192 / 0.8823 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.008097, allocations: 9.344 kB / 0.8823 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.008112, allocations: 8.375 kB / 0.8823 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.00827, allocations: 74.89 kB / 0.8824 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008176/0.009087, allocations: 0.5229 MB / 0.8829 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.00935, allocations: 123 kB / 0.883 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.191e-05/0.009412, allocations: 31.67 kB / 0.8831 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.009438, allocations: 4 kB / 0.8831 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.009468, allocations: 41.39 kB / 0.8831 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 2.675e-06/0.009471, allocations: 0 / 0.8831 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003341/0.009805, allocations: 143.9 kB / 0.8833 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.009847, allocations: 51.41 kB / 0.8833 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.01003, allocations: 240 kB / 0.8835 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.01005, allocations: 29.7 kB / 0.8836 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.01015, allocations: 199.2 kB / 0.8837 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.01019, allocations: 39.64 kB / 0.8838 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.01027, allocations: 55.36 kB / 0.8838 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.01042, allocations: 0.5039 MB / 0.8843 GB, free: 160 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.01049, allocations: 23.98 kB / 0.8844 GB, free: 136 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.12e-05/0.01058, allocations: 84.34 kB / 0.8844 GB, free: 28 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.01074, allocations: 112.3 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.01075, allocations: 11.98 kB / 0.8846 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002207/0.01097, allocations: 141.4 kB / 0.8847 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.01099, allocations: 4 kB / 0.8847 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.01099, allocations: 4 kB / 0.8847 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.01102, allocations: 7.922 kB / 0.8847 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.01117, allocations: 44.06 kB / 0.8847 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.01118, allocations: 3.984 kB / 0.8848 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.01124, allocations: 19.84 kB / 0.8848 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.01125, allocations: 8 kB / 0.8848 GB, free: 15.64 MB / 0.8542 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.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.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 0.0001242/0.01138, allocations: 173.4 kB / 0.8849 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.01142, allocations: 23.91 kB / 0.885 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.01146, allocations: 17.81 kB / 0.885 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.01147, allocations: 3.938 kB / 0.885 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.01147, allocations: 7.938 kB / 0.885 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01148, allocations: 0 / 0.885 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.01173, allocations: 192.4 kB / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01173, allocations: 0 / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.01181, allocations: 23.97 kB / 0.8852 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.01181, allocations: 0 / 0.8852 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.01182, allocations: 4 kB / 0.8852 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01183, allocations: 0 / 0.8852 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.01183, allocations: 7.938 kB / 0.8852 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.0121, allocations: 266.2 kB / 0.8855 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.01213, allocations: 23.83 kB / 0.8855 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.01215, allocations: 4 kB / 0.8855 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.695e-05/0.01221, allocations: 4 kB / 0.8855 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.0123, allocations: 27.91 kB / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.01231, allocations: 7.984 kB / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.293e-05/0.01239, allocations: 164.2 kB / 0.8857 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01239, allocations: 0 / 0.8857 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002263/0.01262, allocations: 39.84 kB / 0.8857 GB, free: 14.62 MB / 0.8542 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.0001892/0.01281, allocations: 111.2 kB / 0.8858 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.01305, allocations: 99.48 kB / 0.8859 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01305, allocations: 0 / 0.8859 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/0.01313, allocations: 55.59 kB / 0.886 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.01343, allocations: 27.98 kB / 0.886 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008946/0.01432, allocations: 341.4 kB / 0.8863 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.166e-05/0.01437, allocations: 75.98 kB / 0.8864 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.875e-05/0.01444, allocations: 21.42 kB / 0.8864 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.0145, allocations: 28.48 kB / 0.8865 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of SimCode: time 6.402e-06/0.0145, allocations: 0 / 0.8865 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.004275/0.01878, allocations: 1.482 MB / 0.8879 GB, free: 12.39 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.552699025021866]