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.00787/0.00787, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001635/0.001635, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.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.706/2.706, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.03 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3699, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002523/0.3724, allocations: 1.115 MB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3738, allocations: 1.01 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3739, allocations: 4 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.534e-05/0.374, allocations: 19.73 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.3742, allocations: 35.67 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.3744, allocations: 79.91 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.3747, allocations: 216.2 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.375, allocations: 124.2 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.3751, allocations: 91.58 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3753, allocations: 99.47 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.3753, allocations: 24 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.016e-05/0.3754, allocations: 20 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.3754, allocations: 59.83 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.579e-05/0.3755, allocations: 95.47 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.3758, allocations: 287.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3759, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3759, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.3759, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 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.0007338/0.3766, allocations: 491.1 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3767, allocations: 8.031 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.3767, allocations: 28.66 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.3772, allocations: 274.6 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3773, allocations: 12.81 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.3773, allocations: 20.38 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.3777, allocations: 191.1 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3778, allocations: 8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.3778, allocations: 8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3778, allocations: 8 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.3782, allocations: 145.7 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008287/0.379, allocations: 0.5647 MB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.3794, allocations: 134.6 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.3795, allocations: 64.77 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3796, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.3796, allocations: 30.56 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.953e-06/0.3796, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0006229/0.3802, allocations: 209.3 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3803, allocations: 55.34 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3805, allocations: 191.7 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3805, allocations: 25.7 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.3806, allocations: 136.2 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.3806, allocations: 43.45 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.3807, allocations: 49.7 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3809, allocations: 326.8 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.3811, allocations: 51.97 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.3813, allocations: 94.66 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.3816, allocations: 146.9 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3816, allocations: 4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004032/0.3821, allocations: 177.3 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3821, allocations: 4 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3821, allocations: 7.938 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.3821, allocations: 0 / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.3824, allocations: 40.06 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3824, allocations: 8 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3825, allocations: 15.84 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.3825, allocations: 11.98 kB / 1.095 GB, free: 10.46 MB / 0.8575 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.00017/0.3827, allocations: 138.3 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.3828, allocations: 15.81 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.3828, allocations: 21.47 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3828, allocations: 4 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3828, allocations: 4 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3829, allocations: 3.984 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.3832, allocations: 257.5 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3832, allocations: 0 / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3833, allocations: 31.91 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3833, allocations: 0 / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.3833, allocations: 7.938 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3833, allocations: 0 / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3834, allocations: 0 / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.3838, allocations: 254.3 kB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.3838, allocations: 88.92 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.3839, allocations: 11.92 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.384, allocations: 8 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3841, allocations: 23.97 kB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.3841, allocations: 4 kB / 1.095 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001099/0.3842, allocations: 123.2 kB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3843, allocations: 0 / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002749/0.3845, allocations: 35.84 kB / 1.096 GB, free: 9.363 MB / 0.8575 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.0001698/0.3847, allocations: 118 kB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.3851, allocations: 140.1 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3851, allocations: 0 / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.3853, allocations: 71.89 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3857, allocations: 29.73 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006674/0.3864, allocations: 321.1 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3867, allocations: 0.7318 MB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.3868, allocations: 29.47 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.3869, allocations: 19.44 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3869, allocations: 0 / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of Templates: time 0.004602/0.3915, allocations: 1.448 MB / 1.098 GB, free: 6.461 MB / 0.8575 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/jenkins/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