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.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.001308/0.001308, allocations: 114.5 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.001591/0.001591, allocations: 217 kB / 22.25 MB, free: 5.082 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 8.004 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.363/3.363, allocations: 0.505 GB / 0.8101 GB, free: 22 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.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",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.002094/0.002094, allocations: 67.05 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.373, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003302/0.3763, allocations: 1.146 MB / 1.354 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.3784, allocations: 1.07 MB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.3787, allocations: 4 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.3788, allocations: 23.67 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.3791, allocations: 35.66 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.3795, allocations: 87.86 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.38, allocations: 232.1 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.3803, allocations: 92.59 kB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/0.3807, allocations: 107.6 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.381, allocations: 95.55 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.381, allocations: 24 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.301e-05/0.3811, allocations: 28 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.3812, allocations: 55.78 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.3813, allocations: 103.5 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.382, allocations: 318.8 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.382, allocations: 0 / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.647e-06/0.382, allocations: 0 / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.382, allocations: 0 / 1.356 GB, free: 5.031 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001162/0.3831, allocations: 439.6 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.3832, allocations: 12.03 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.976e-05/0.3833, allocations: 50.73 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.3836, allocations: 36.78 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.3842, allocations: 206.5 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.3843, allocations: 20.81 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.3843, allocations: 20.38 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.3849, allocations: 203.8 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.3849, allocations: 3.938 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.3849, allocations: 8 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.3849, allocations: 4 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.3854, allocations: 153.7 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3866, allocations: 0.5611 MB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.387, allocations: 154 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.3872, allocations: 67 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3872, allocations: 3.906 kB / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.3872, allocations: 38.5 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.3872, allocations: 0 / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0006835/0.3879, allocations: 209.4 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.388, allocations: 63.34 kB / 1.358 GB, free: 2.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.3882, allocations: 182.2 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.3883, allocations: 33.64 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.3884, allocations: 132.5 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.3885, allocations: 47.7 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3886, allocations: 57.69 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.3888, allocations: 322.8 kB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.389, allocations: 59.95 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.3892, allocations: 97.95 kB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.3896, allocations: 146.6 kB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3896, allocations: 0 / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005001/0.3901, allocations: 194.8 kB / 1.36 GB, free: 1.336 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.3901, allocations: 8 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.3901, allocations: 3.984 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.3901, allocations: 4 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.3903, allocations: 31.92 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3904, allocations: 3.938 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.3905, allocations: 23.88 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3905, allocations: 12 kB / 1.36 GB, free: 1.25 MB / 1.045 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.0002544/0.3908, allocations: 153.7 kB / 1.36 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.3908, allocations: 15.91 kB / 1.36 GB, free: 1.074 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.3909, allocations: 21.81 kB / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3909, allocations: 0 / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3909, allocations: 0 / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3909, allocations: 0 / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.3913, allocations: 256.5 kB / 1.36 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3913, allocations: 0 / 1.36 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.3914, allocations: 31.91 kB / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3914, allocations: 4 kB / 1.36 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3914, allocations: 0 / 1.36 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3914, allocations: 0 / 1.36 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3914, allocations: 0 / 1.36 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.3919, allocations: 262.1 kB / 1.36 GB, free: 464 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.3919, allocations: 19.84 kB / 1.36 GB, free: 444 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.392, allocations: 8 kB / 1.36 GB, free: 436 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3921, allocations: 7.984 kB / 1.36 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.3922, allocations: 27.88 kB / 1.36 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3922, allocations: 4 kB / 1.36 GB, free: 396 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001336/0.3923, allocations: 120.2 kB / 1.361 GB, free: 276 kB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3923, allocations: 7.875 kB / 1.361 GB, free: 268 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002928/0.3926, allocations: 39.89 kB / 1.361 GB, free: 228 kB / 1.045 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.0008903/0.3935, allocations: 0.7993 MB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.394, allocations: 151.7 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.394, allocations: 0 / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.3941, allocations: 74.39 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.3945, allocations: 16 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.3974, allocations: 1.988 MB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.3979, allocations: 0.7358 MB / 1.364 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.398, allocations: 25.47 kB / 1.364 GB, free: 12.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.3981, allocations: 59.41 kB / 1.364 GB, free: 12.21 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3981, allocations: 0 / 1.364 GB, free: 12.21 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.4313, allocations: 3.44 MB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.95, allocations: 10.2 kB / 1.368 GB, free: 8.949 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.003269706852734]