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.001537/0.001537, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001385/0.001385, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.197/2.197, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.16 kB / 0.8141 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3017, allocations: 140.4 MB / 0.9512 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002362/0.3041, allocations: 1.126 MB / 0.9523 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3051, allocations: 1.014 MB / 0.9533 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.3052, allocations: 0 / 0.9533 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.95e-05/0.3053, allocations: 27.67 kB / 0.9533 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3054, allocations: 23.73 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.3056, allocations: 83.84 kB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.3058, allocations: 212.2 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.3061, allocations: 128.1 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3062, allocations: 87.64 kB / 0.9538 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.3063, allocations: 103.5 kB / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.3064, allocations: 20 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.631e-05/0.3064, allocations: 24 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.3065, allocations: 47.84 kB / 0.954 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.3066, allocations: 95.47 kB / 0.9541 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.3068, allocations: 290.8 kB / 0.9544 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3068, allocations: 0 / 0.9544 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.885e-06/0.3068, allocations: 0 / 0.9544 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3068, allocations: 3.938 kB / 0.9544 GB, free: 4.762 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.0006319/0.3075, allocations: 495.2 kB / 0.9548 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3075, allocations: 8.031 kB / 0.9548 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.3076, allocations: 24.66 kB / 0.9549 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.308, allocations: 274.1 kB / 0.9551 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.308, allocations: 16.81 kB / 0.9551 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.3081, allocations: 20.38 kB / 0.9552 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.3084, allocations: 191.2 kB / 0.9553 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3085, allocations: 0 / 0.9553 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.3085, allocations: 11.94 kB / 0.9554 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.3085, allocations: 4 kB / 0.9554 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.3089, allocations: 145.7 kB / 0.9555 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007615/0.3096, allocations: 0.5685 MB / 0.9561 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.3099, allocations: 132.6 kB / 0.9562 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.3101, allocations: 60.77 kB / 0.9562 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.3102, allocations: 8 kB / 0.9562 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.3102, allocations: 34.56 kB / 0.9563 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.3102, allocations: 0 / 0.9563 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0005818/0.3108, allocations: 201.3 kB / 0.9565 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.3108, allocations: 51.41 kB / 0.9565 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.311, allocations: 183.8 kB / 0.9567 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.311, allocations: 29.7 kB / 0.9567 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.3111, allocations: 132.2 kB / 0.9568 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3111, allocations: 43.52 kB / 0.9569 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.3112, allocations: 49.69 kB / 0.9569 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.3113, allocations: 330.8 kB / 0.9573 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.3115, allocations: 51.91 kB / 0.9573 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.3116, allocations: 103 kB / 0.9574 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.3119, allocations: 140.2 kB / 0.9575 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.312, allocations: 4 kB / 0.9575 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003825/0.3123, allocations: 185.4 kB / 0.9577 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3124, allocations: 4 kB / 0.9577 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3124, allocations: 7.938 kB / 0.9577 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3124, allocations: 0 / 0.9577 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.3126, allocations: 39.91 kB / 0.9578 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3126, allocations: 4 kB / 0.9578 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.3127, allocations: 19.84 kB / 0.9578 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3127, allocations: 7.984 kB / 0.9578 GB, free: 0.9844 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.0001142/0.3128, allocations: 148.3 kB / 0.9579 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.3129, allocations: 15.81 kB / 0.9579 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.3129, allocations: 17.47 kB / 0.958 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3129, allocations: 4 kB / 0.958 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3129, allocations: 0 / 0.958 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3129, allocations: 3.984 kB / 0.958 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.3132, allocations: 261.5 kB / 0.9582 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3132, allocations: 0 / 0.9582 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3134, allocations: 23.97 kB / 0.9582 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3134, allocations: 4 kB / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.3134, allocations: 11.94 kB / 0.9583 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3134, allocations: 0 / 0.9583 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3134, allocations: 0 / 0.9583 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.3138, allocations: 255.2 kB / 0.9585 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.3138, allocations: 88.92 kB / 0.9586 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.3139, allocations: 11.92 kB / 0.9586 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.314, allocations: 11.94 kB / 0.9586 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.3141, allocations: 19.97 kB / 0.9586 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3141, allocations: 4 kB / 0.9586 GB, free: 32 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.117e-05/0.3142, allocations: 128.2 kB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3142, allocations: 0 / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002656/0.3145, allocations: 35.84 kB / 0.9588 GB, free: 15.87 MB / 0.7481 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.0001402/0.3146, allocations: 117.1 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.315, allocations: 145.8 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.315, allocations: 0 / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.3152, allocations: 71.89 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3155, allocations: 20.31 kB / 0.9591 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.3161, allocations: 325 kB / 0.9594 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.3164, allocations: 0.728 MB / 0.9602 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.304e-05/0.3165, allocations: 25.53 kB / 0.9602 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.3166, allocations: 15.44 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3166, allocations: 0 / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of Templates: time 0.004183/0.3208, allocations: 1.434 MB / 0.9616 GB, free: 13 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 -s gbode -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