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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001569/0.001569, allocations: 105.6 kB / 16.27 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 190.3 kB / 17.2 MB, free: 5.59 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 62.48 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3192, allocations: 140.4 MB / 0.9503 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003524/0.3228, allocations: 1.118 MB / 0.9514 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3245, allocations: 1.006 MB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.3247, allocations: 4 kB / 0.9524 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.779e-05/0.3249, allocations: 19.73 kB / 0.9524 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.325, allocations: 31.67 kB / 0.9525 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.3254, allocations: 71.92 kB / 0.9525 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.3256, allocations: 224.2 kB / 0.9527 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.326, allocations: 116.2 kB / 0.9528 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.3262, allocations: 103.5 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.3264, allocations: 95.48 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.3265, allocations: 24 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.032e-05/0.3265, allocations: 20 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.3266, allocations: 51.84 kB / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3267, allocations: 103.5 kB / 0.9532 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.3271, allocations: 275.3 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3271, allocations: 0 / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3271, allocations: 0 / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.3271, allocations: 0 / 0.9535 GB, free: 5.57 MB / 0.7325 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.000919/0.328, allocations: 493.1 kB / 0.954 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3281, allocations: 11.97 kB / 0.954 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.3282, allocations: 24.66 kB / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.3287, allocations: 276.3 kB / 0.9543 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.3287, allocations: 12.81 kB / 0.9543 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.3288, allocations: 20.38 kB / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.3292, allocations: 195.1 kB / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3292, allocations: 0 / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.3293, allocations: 12 kB / 0.9545 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3293, allocations: 4 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.3297, allocations: 149.6 kB / 0.9546 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008079/0.3305, allocations: 0.5647 MB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.3308, allocations: 130.6 kB / 0.9553 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.331, allocations: 64.81 kB / 0.9554 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3311, allocations: 4.062 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3311, allocations: 30.56 kB / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.3311, allocations: 0 / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0006154/0.3317, allocations: 211.5 kB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.3318, allocations: 55.41 kB / 0.9557 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3319, allocations: 171.8 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.332, allocations: 29.64 kB / 0.9558 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.967e-05/0.3321, allocations: 148.1 kB / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.3321, allocations: 31.47 kB / 0.956 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.3322, allocations: 57.69 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3323, allocations: 322.8 kB / 0.9564 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.3325, allocations: 55.95 kB / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.3327, allocations: 93.06 kB / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.333, allocations: 141 kB / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.333, allocations: 4 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004089/0.3335, allocations: 179.9 kB / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3335, allocations: 8 kB / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3335, allocations: 3.938 kB / 0.9568 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3335, allocations: 4 kB / 0.9568 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3337, allocations: 36.06 kB / 0.9569 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3337, allocations: 8 kB / 0.9569 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3339, allocations: 19.83 kB / 0.9569 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.3339, allocations: 8 kB / 0.9569 GB, free: 1.793 MB / 0.7325 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 0.0001189/0.334, allocations: 136.3 kB / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.3341, allocations: 15.81 kB / 0.9571 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.3341, allocations: 29.45 kB / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3341, allocations: 0 / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3341, allocations: 4 kB / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3342, allocations: 4 kB / 0.9571 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.3345, allocations: 261.5 kB / 0.9573 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3345, allocations: 7.938 kB / 0.9574 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.3346, allocations: 23.98 kB / 0.9574 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3347, allocations: 3.984 kB / 0.9574 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3347, allocations: 3.938 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3347, allocations: 3.938 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3347, allocations: 0 / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.3351, allocations: 259.2 kB / 0.9576 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.3352, allocations: 88.92 kB / 0.9577 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.3352, allocations: 7.938 kB / 0.9577 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3353, allocations: 11.98 kB / 0.9577 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.3354, allocations: 23.97 kB / 0.9578 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.3354, allocations: 8 kB / 0.9578 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.3355, allocations: 120.2 kB / 0.9579 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3355, allocations: 0 / 0.9579 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002716/0.3358, allocations: 35.84 kB / 0.9579 GB, free: 0.6758 MB / 0.7325 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.000131/0.3359, allocations: 115.2 kB / 0.958 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.3363, allocations: 150.4 kB / 0.9582 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3363, allocations: 0 / 0.9582 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.3365, allocations: 71.91 kB / 0.9582 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3369, allocations: 18.22 kB / 0.9583 GB, free: 332 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.3375, allocations: 366.7 kB / 0.9586 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3378, allocations: 0.728 MB / 0.9593 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.3378, allocations: 19.44 kB / 0.9593 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3378, allocations: 0 / 0.9593 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of Templates: time 0.003655/0.3415, allocations: 2.068 MB / 0.9614 GB, free: 13.1 MB / 0.7481 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