Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001548/0.001548, allocations: 105.6 kB / 15.99 MB, free: 6.348 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.001513/0.001513, allocations: 195.6 kB / 16.91 MB, free: 6.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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.646/2.646, allocations: 469.8 MB / 0.7427 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002095, allocations: 64.64 kB / 0.9088 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3773, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00318/0.3805, allocations: 1.173 MB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3822, allocations: 1.01 MB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.3824, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.913e-05/0.3825, allocations: 15.84 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.3827, allocations: 11.81 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.3831, allocations: 71.94 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.3834, allocations: 236.1 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.3837, allocations: 132 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.3839, allocations: 87.64 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.3841, allocations: 95.55 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.3841, allocations: 24 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.3842, allocations: 28 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.3842, allocations: 63.75 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3844, allocations: 99.47 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.3847, allocations: 239.7 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3847, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3847, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.3847, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 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.0008704/0.3856, allocations: 0.4951 MB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3856, allocations: 12.03 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.3857, allocations: 24.66 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.3862, allocations: 274.3 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.3863, allocations: 16.81 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.3863, allocations: 28.36 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.3868, allocations: 191.8 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3868, allocations: 4.188 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.3868, allocations: 15.94 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3869, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.3873, allocations: 157.6 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009377/0.3882, allocations: 0.5878 MB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.3886, allocations: 162.7 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.3888, allocations: 72.8 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3888, allocations: 4 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3889, allocations: 34.5 kB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.3889, allocations: 3.938 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.0006285/0.3895, allocations: 219.4 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.3896, allocations: 55.39 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.3898, allocations: 183.4 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.3898, allocations: 25.7 kB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3899, allocations: 140.2 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.39, allocations: 43.45 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.3901, allocations: 53.69 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3902, allocations: 330.8 kB / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3904, allocations: 59.95 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.3906, allocations: 98.36 kB / 1.071 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.391, allocations: 151.4 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.391, allocations: 3.938 kB / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004328/0.3914, allocations: 205.2 kB / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3914, allocations: 4 kB / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3915, allocations: 0 / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3915, allocations: 4 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.3917, allocations: 31.92 kB / 1.071 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.3917, allocations: 3.984 kB / 1.071 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3918, allocations: 28 kB / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.3918, allocations: 7.984 kB / 1.071 GB, free: 7.852 MB / 0.8419 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.0002083/0.3921, allocations: 140.7 kB / 1.071 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.3921, allocations: 19.75 kB / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.3922, allocations: 21.88 kB / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3922, allocations: 0 / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3922, allocations: 0 / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.3922, allocations: 7.984 kB / 1.071 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.3926, allocations: 273.4 kB / 1.071 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3926, allocations: 4 kB / 1.071 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.3927, allocations: 19.98 kB / 1.071 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3927, allocations: 4 kB / 1.071 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3927, allocations: 0 / 1.071 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3927, allocations: 3.984 kB / 1.071 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3927, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.3932, allocations: 269 kB / 1.072 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.3933, allocations: 92.86 kB / 1.072 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3933, allocations: 8 kB / 1.072 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3934, allocations: 7.984 kB / 1.072 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.3935, allocations: 23.97 kB / 1.072 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3935, allocations: 4 kB / 1.072 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001082/0.3936, allocations: 129.2 kB / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3936, allocations: 0 / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002824/0.3939, allocations: 39.75 kB / 1.072 GB, free: 6.719 MB / 0.8419 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.0001556/0.3941, allocations: 107.2 kB / 1.072 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.3945, allocations: 160.1 kB / 1.072 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3945, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.3947, allocations: 75.89 kB / 1.072 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.395, allocations: 27.88 kB / 1.072 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/0.3958, allocations: 457.3 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.3962, allocations: 0.7319 MB / 1.074 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.3963, allocations: 23.44 kB / 1.074 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3963, allocations: 0 / 1.074 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of Templates: time 0.004296/0.4006, allocations: 2.16 MB / 1.076 GB, free: 2.938 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches