Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 180.7 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003603, allocations: 16 kB / 0.8167 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8025, allocations: 142.4 MB / 0.9558 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001358/0.8039, allocations: 0.8082 MB / 0.9565 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009942/0.8049, allocations: 0.9993 MB / 0.9575 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.805, allocations: 2.5 kB / 0.9575 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.805, allocations: 11.86 kB / 0.9575 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.8051, allocations: 18.11 kB / 0.9576 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.8053, allocations: 71.94 kB / 0.9576 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.8055, allocations: 197.4 kB / 0.9578 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.8058, allocations: 122.6 kB / 0.9579 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.8059, allocations: 64.58 kB / 0.958 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.8061, allocations: 64.28 kB / 0.958 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.8061, allocations: 9.625 kB / 0.9581 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.132e-05/0.8061, allocations: 4.656 kB / 0.9581 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.8062, allocations: 29.86 kB / 0.9581 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.8062, allocations: 104.7 kB / 0.9582 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.8064, allocations: 209.1 kB / 0.9584 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8064, allocations: 3.984 kB / 0.9584 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8064, allocations: 0 / 0.9584 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.8064, allocations: 1.812 kB / 0.9584 GB, free: 5.527 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005899/0.807, allocations: 462.8 kB / 0.9588 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.8071, allocations: 8.969 kB / 0.9588 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.8071, allocations: 22.97 kB / 0.9589 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.8076, allocations: 280.4 kB / 0.9591 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.8076, allocations: 21.34 kB / 0.9592 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.8076, allocations: 25.38 kB / 0.9592 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.808, allocations: 201 kB / 0.9594 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8081, allocations: 1.5 kB / 0.9594 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.8081, allocations: 5.062 kB / 0.9594 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.8081, allocations: 5.094 kB / 0.9594 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.8085, allocations: 164 kB / 0.9595 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.8092, allocations: 0.5689 MB / 0.9601 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.8095, allocations: 142.3 kB / 0.9602 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.8096, allocations: 64.58 kB / 0.9603 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.8097, allocations: 1.375 kB / 0.9603 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.8097, allocations: 31.94 kB / 0.9603 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.8097, allocations: 0 / 0.9603 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005993/0.8103, allocations: 226.9 kB / 0.9605 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.8103, allocations: 58.16 kB / 0.9606 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.8105, allocations: 175.9 kB / 0.9608 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.8105, allocations: 27.08 kB / 0.9608 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.8106, allocations: 141.8 kB / 0.9609 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.8106, allocations: 46.27 kB / 0.961 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.8106, allocations: 35.27 kB / 0.961 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.8107, allocations: 327 kB / 0.9613 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.8109, allocations: 60.95 kB / 0.9614 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.8111, allocations: 102.8 kB / 0.9615 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.8114, allocations: 152.6 kB / 0.9616 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8114, allocations: 0 / 0.9616 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004046/0.8118, allocations: 197.6 kB / 0.9618 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.8118, allocations: 10.73 kB / 0.9618 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.8118, allocations: 6.156 kB / 0.9618 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.8118, allocations: 2.219 kB / 0.9618 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.812, allocations: 33.27 kB / 0.9619 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.8121, allocations: 2.219 kB / 0.9619 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.8122, allocations: 31.23 kB / 0.9619 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.8122, allocations: 5.25 kB / 0.9619 GB, free: 2.676 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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 9.518e-05/0.8123, allocations: 137.8 kB / 0.962 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.8123, allocations: 11.28 kB / 0.962 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.8124, allocations: 24.47 kB / 0.9621 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8124, allocations: 2 kB / 0.9621 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8124, allocations: 0 / 0.9621 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8124, allocations: 4 kB / 0.9621 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.8126, allocations: 266.1 kB / 0.9623 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8127, allocations: 0 / 0.9623 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.8128, allocations: 26.98 kB / 0.9623 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8128, allocations: 0.7188 kB / 0.9623 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.8128, allocations: 8.703 kB / 0.9623 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8128, allocations: 0.9062 kB / 0.9623 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8128, allocations: 0.9688 kB / 0.9624 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.8132, allocations: 269.8 kB / 0.9626 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.8133, allocations: 89.27 kB / 0.9627 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.8133, allocations: 4.656 kB / 0.9627 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.8134, allocations: 24.14 kB / 0.9627 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.8135, allocations: 20.31 kB / 0.9627 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.8135, allocations: 3.062 kB / 0.9627 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.795e-05/0.8136, allocations: 119.8 kB / 0.9629 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8136, allocations: 0 / 0.9629 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002696/0.8139, allocations: 40.53 kB / 0.9629 GB, free: 1.793 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001203/0.814, allocations: 118.5 kB / 0.963 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003994/0.8144, allocations: 144.5 kB / 0.9631 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8144, allocations: 4 kB / 0.9632 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.8146, allocations: 78.95 kB / 0.9632 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.8149, allocations: 15.41 kB / 0.9632 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.8155, allocations: 430.5 kB / 0.9637 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.8157, allocations: 0.7253 MB / 0.9644 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.8157, allocations: 17.72 kB / 0.9644 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8157, allocations: 0.75 kB / 0.9644 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of Templates: time 0.003629/0.8194, allocations: 2.049 MB / 0.9664 GB, free: 15.47 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches