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.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002342/0.002342, allocations: 211.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.438/3.438, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003124/0.003124, allocations: 71.45 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3565, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.003856/0.3603, allocations: 1.775 MB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.3628, allocations: 1.194 MB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000399/0.3632, allocations: 4 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.3634, allocations: 51.33 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.3637, allocations: 59.34 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.3643, allocations: 187.7 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000696/0.365, allocations: 0.5009 MB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000481/0.3654, allocations: 221.2 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.3658, allocations: 203.3 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.3661, allocations: 246.9 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.3662, allocations: 56 kB / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.3663, allocations: 60 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.3664, allocations: 123.6 kB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.3667, allocations: 242.6 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009331/0.3677, allocations: 0.6926 MB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3677, allocations: 4 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3677, allocations: 0 / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.321e-05/0.3677, allocations: 0 / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001762/0.3695, allocations: 0.7021 MB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.3695, allocations: 16.02 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.3696, allocations: 78.72 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.3697, allocations: 60.56 kB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.371, allocations: 424.5 kB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/0.3711, allocations: 41.38 kB / 1.36 GB, free: 1.457 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.3711, allocations: 44.38 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.3723, allocations: 0.4946 MB / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3723, allocations: 7.938 kB / 1.36 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.3723, allocations: 20 kB / 1.36 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.3724, allocations: 12 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.3736, allocations: 433.5 kB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.3755, allocations: 1.19 MB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.3766, allocations: 399.8 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.3772, allocations: 198.4 kB / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.524e-05/0.3772, allocations: 15.98 kB / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.3773, allocations: 38.5 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=41): time 3.256e-06/0.3773, allocations: 0 / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=41): time 0.001883/0.3791, allocations: 0.575 MB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.3792, allocations: 106.8 kB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.3796, allocations: 284.1 kB / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.3796, allocations: 33.7 kB / 1.363 GB, free: 13.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.3798, allocations: 220.6 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.3799, allocations: 134.8 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.3801, allocations: 102.1 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3803, allocations: 342.8 kB / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.3808, allocations: 156.7 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006098/0.3814, allocations: 245.7 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.3826, allocations: 407.8 kB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3826, allocations: 0 / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001333/0.3839, allocations: 466.6 kB / 1.365 GB, free: 11.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.3839, allocations: 8 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3839, allocations: 3.984 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.293e-05/0.384, allocations: 11.94 kB / 1.365 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.3845, allocations: 100 kB / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.3845, allocations: 4 kB / 1.365 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.3848, allocations: 71.62 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.3849, allocations: 15.98 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0003047/0.3852, allocations: 173.8 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.3853, allocations: 31.81 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.3854, allocations: 42.14 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3854, allocations: 7.938 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3854, allocations: 0 / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.3854, allocations: 11.92 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007208/0.3861, allocations: 424.2 kB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3862, allocations: 0 / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.3866, allocations: 87.86 kB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.3866, allocations: 4 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.3866, allocations: 8 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.3867, allocations: 7.875 kB / 1.366 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3867, allocations: 3.984 kB / 1.366 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.3881, allocations: 0.6613 MB / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.3882, allocations: 31.75 kB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.3882, allocations: 8 kB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.3886, allocations: 43.89 kB / 1.367 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.3888, allocations: 63.84 kB / 1.367 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.3888, allocations: 19.98 kB / 1.367 GB, free: 9.461 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002251/0.389, allocations: 179.1 kB / 1.367 GB, free: 9.289 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.389, allocations: 0 / 1.367 GB, free: 9.289 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005371/0.3896, allocations: 91.67 kB / 1.367 GB, free: 9.199 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.00192/0.3915, allocations: 1.235 MB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.3928, allocations: 398.2 kB / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3928, allocations: 0 / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006364/0.3934, allocations: 236 kB / 1.369 GB, free: 7.316 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.394, allocations: 45.17 kB / 1.369 GB, free: 7.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/0.4008, allocations: 3.479 MB / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.4013, allocations: 0.8153 MB / 1.373 GB, free: 2.801 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.4016, allocations: 63.25 kB / 1.373 GB, free: 2.742 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.4019, allocations: 159.4 kB / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of SimCode: time 9.42e-07/0.4019, allocations: 0 / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/0.4408, allocations: 7.32 MB / 1.381 GB, free: 11.46 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.39, allocations: 11.92 kB / 1.381 GB, free: 11.45 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.500405648956075]