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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009891/0.0009889, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008143/0.008143, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.972/2.972, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004293, allocations: 11.62 kB / 0.9028 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3705, allocations: 159.6 MB / 1.059 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001404/0.3719, allocations: 0.8294 MB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3731, allocations: 1.006 MB / 1.061 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.3732, allocations: 0 / 1.061 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.3733, allocations: 11.86 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.3734, allocations: 23.84 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.3736, allocations: 71.89 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.3739, allocations: 208.2 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.3741, allocations: 116.1 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.3743, allocations: 75.58 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3744, allocations: 67.56 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.3745, allocations: 4 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.062e-05/0.3745, allocations: 11.94 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.3745, allocations: 27.8 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.527e-05/0.3746, allocations: 105.1 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.3749, allocations: 275.2 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3749, allocations: 3.938 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3749, allocations: 0 / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3749, allocations: 0 / 1.061 GB, free: 2.598 MB / 0.8106 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.000657/0.3756, allocations: 467.2 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3756, allocations: 12.03 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.3757, allocations: 24.66 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.3762, allocations: 295.1 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.3762, allocations: 12.81 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.3763, allocations: 20.38 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.3767, allocations: 203.8 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3767, allocations: 192 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.3767, allocations: 19.94 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3767, allocations: 7.938 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.3772, allocations: 169.6 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008287/0.378, allocations: 0.5917 MB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.3784, allocations: 166.6 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.3786, allocations: 76.81 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3786, allocations: 4 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3786, allocations: 30.56 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.3786, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006295/0.3793, allocations: 234.7 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.3793, allocations: 63.33 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.3795, allocations: 182.7 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3795, allocations: 29.7 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.3796, allocations: 140.2 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.3797, allocations: 47.3 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.3797, allocations: 41.69 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3799, allocations: 322.8 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3801, allocations: 59.97 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3803, allocations: 111.2 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.3806, allocations: 150.5 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3806, allocations: 0 / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004365/0.3811, allocations: 215.6 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3811, allocations: 8 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3811, allocations: 0 / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3811, allocations: 12.09 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.3813, allocations: 35.91 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3814, allocations: 4 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.3815, allocations: 27.83 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3815, allocations: 4 kB / 1.065 GB, free: 14.62 MB / 0.8262 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.0001834/0.3817, allocations: 143 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.3817, allocations: 19.75 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.3818, allocations: 21.86 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3818, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3818, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3818, allocations: 4 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.3822, allocations: 265.5 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3822, allocations: 7.938 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.3824, allocations: 31.91 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3824, allocations: 0 / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3824, allocations: 8 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3824, allocations: 4 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3824, allocations: 0 / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/0.3829, allocations: 275.2 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.3829, allocations: 96.8 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.383, allocations: 0 / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3831, allocations: 15.98 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.3832, allocations: 19.97 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.3832, allocations: 4 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.05e-05/0.3833, allocations: 123.2 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3833, allocations: 3.938 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002752/0.3836, allocations: 35.84 kB / 1.066 GB, free: 13.47 MB / 0.8262 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.0001421/0.3837, allocations: 111.2 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.3842, allocations: 170.6 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3842, allocations: 0 / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.3844, allocations: 80.2 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.3847, allocations: 27.92 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000715/0.3854, allocations: 424.3 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3858, allocations: 0.7361 MB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.3859, allocations: 21.55 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.386, allocations: 15.44 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.386, allocations: 4 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.004449/0.3904, allocations: 1.328 MB / 1.069 GB, free: 10.57 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches