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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 103.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 497.2 MB / 0.7812 GB, free: 11.97 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 71.88 kB / 1.134 GB, free: 13.1 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002357/1.048, allocations: 1.139 MB / 1.305 GB, free: 31.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001077/1.049, allocations: 1.023 MB / 1.306 GB, free: 30.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/1.049, allocations: 2.875 kB / 1.306 GB, free: 30.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.92e-05/1.049, allocations: 26.11 kB / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/1.049, allocations: 40.7 kB / 1.306 GB, free: 30.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/1.049, allocations: 83.48 kB / 1.306 GB, free: 30.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/1.05, allocations: 219 kB / 1.306 GB, free: 30.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/1.05, allocations: 108.2 kB / 1.307 GB, free: 30.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/1.05, allocations: 94.84 kB / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/1.05, allocations: 102.4 kB / 1.307 GB, free: 30.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/1.05, allocations: 25.03 kB / 1.307 GB, free: 30.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.821e-05/1.05, allocations: 24.31 kB / 1.307 GB, free: 30.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/1.05, allocations: 48.36 kB / 1.307 GB, free: 30.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/1.05, allocations: 108.5 kB / 1.307 GB, free: 30.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/1.05, allocations: 297.6 kB / 1.307 GB, free: 30.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.05, allocations: 3.938 kB / 1.307 GB, free: 30.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.126e-06/1.05, allocations: 3.281 kB / 1.307 GB, free: 30.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.344e-05/1.05, allocations: 4 kB / 1.307 GB, free: 30.01 MB / 1.061 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.0006372/1.051, allocations: 499.8 kB / 1.308 GB, free: 29.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/1.051, allocations: 10.25 kB / 1.308 GB, free: 29.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.099e-05/1.051, allocations: 62.7 kB / 1.308 GB, free: 29.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/1.051, allocations: 30.38 kB / 1.308 GB, free: 29.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/1.052, allocations: 277.6 kB / 1.308 GB, free: 29.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/1.052, allocations: 21.03 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/1.052, allocations: 22.94 kB / 1.308 GB, free: 29.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/1.052, allocations: 193.8 kB / 1.308 GB, free: 29.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.052, allocations: 3.938 kB / 1.308 GB, free: 29.13 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/1.052, allocations: 14.75 kB / 1.308 GB, free: 29.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/1.052, allocations: 5.625 kB / 1.308 GB, free: 29.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/1.052, allocations: 160.8 kB / 1.309 GB, free: 29.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/1.053, allocations: 0.5904 MB / 1.309 GB, free: 28.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/1.053, allocations: 143.1 kB / 1.309 GB, free: 28.58 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/1.054, allocations: 67.3 kB / 1.309 GB, free: 28.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/1.054, allocations: 6.969 kB / 1.309 GB, free: 28.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/1.054, allocations: 37.41 kB / 1.309 GB, free: 28.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/1.054, allocations: 0 / 1.309 GB, free: 28.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0005183/1.054, allocations: 216.9 kB / 1.31 GB, free: 28.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/1.054, allocations: 55.41 kB / 1.31 GB, free: 28.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/1.054, allocations: 182.1 kB / 1.31 GB, free: 28.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/1.054, allocations: 33.64 kB / 1.31 GB, free: 28.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/1.054, allocations: 146.1 kB / 1.31 GB, free: 28.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/1.054, allocations: 48.58 kB / 1.31 GB, free: 28.01 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/1.054, allocations: 51.02 kB / 1.31 GB, free: 27.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.006e-05/1.054, allocations: 323.5 kB / 1.31 GB, free: 27.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/1.055, allocations: 65.75 kB / 1.31 GB, free: 27.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/1.055, allocations: 96.11 kB / 1.31 GB, free: 27.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/1.055, allocations: 143.7 kB / 1.311 GB, free: 27.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.055, allocations: 0 / 1.311 GB, free: 27.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003571/1.055, allocations: 199.6 kB / 1.311 GB, free: 27.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.055, allocations: 8.594 kB / 1.311 GB, free: 27.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.055, allocations: 0 / 1.311 GB, free: 27.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/1.055, allocations: 2.812 kB / 1.311 GB, free: 27.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/1.056, allocations: 37.7 kB / 1.311 GB, free: 27.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/1.056, allocations: 2.906 kB / 1.311 GB, free: 27.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.943e-05/1.056, allocations: 19.92 kB / 1.311 GB, free: 27.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/1.056, allocations: 9.719 kB / 1.311 GB, free: 27.38 MB / 1.061 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.0001387/1.056, allocations: 158 kB / 1.311 GB, free: 27.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/1.056, allocations: 13.59 kB / 1.311 GB, free: 27.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/1.056, allocations: 19.59 kB / 1.311 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.056, allocations: 0 / 1.311 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.056, allocations: 0 / 1.311 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.056, allocations: 6.062 kB / 1.311 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/1.056, allocations: 275.6 kB / 1.311 GB, free: 26.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.056, allocations: 0 / 1.311 GB, free: 26.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/1.056, allocations: 28 kB / 1.311 GB, free: 26.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.056, allocations: 0 / 1.311 GB, free: 26.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/1.056, allocations: 4 kB / 1.311 GB, free: 26.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.056, allocations: 2.844 kB / 1.311 GB, free: 26.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.056, allocations: 3.938 kB / 1.311 GB, free: 26.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/1.057, allocations: 268.4 kB / 1.312 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/1.057, allocations: 91.89 kB / 1.312 GB, free: 26.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/1.057, allocations: 2.688 kB / 1.312 GB, free: 26.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.057, allocations: 12.91 kB / 1.312 GB, free: 26.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/1.057, allocations: 18.61 kB / 1.312 GB, free: 26.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/1.057, allocations: 2.719 kB / 1.312 GB, free: 26.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.01e-05/1.057, allocations: 129 kB / 1.312 GB, free: 26.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.057, allocations: 0 / 1.312 GB, free: 26.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002636/1.057, allocations: 41.36 kB / 1.312 GB, free: 26.55 MB / 1.061 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.0005153/1.058, allocations: 0.8044 MB / 1.313 GB, free: 25.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003456/1.058, allocations: 158 kB / 1.313 GB, free: 25.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.058, allocations: 0 / 1.313 GB, free: 25.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/1.058, allocations: 72.17 kB / 1.313 GB, free: 25.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/1.059, allocations: 16.83 kB / 1.313 GB, free: 25.76 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/1.06, allocations: 1.975 MB / 1.315 GB, free: 24.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/1.061, allocations: 0.7346 MB / 1.316 GB, free: 23.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.255e-05/1.061, allocations: 22.06 kB / 1.316 GB, free: 23.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/1.061, allocations: 65.36 kB / 1.316 GB, free: 23.46 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/1.061, allocations: 0 / 1.316 GB, free: 23.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/1.087, allocations: 3.277 MB / 1.319 GB, free: 23.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.566, allocations: 8.578 kB / 1.319 GB, free: 23.02 MB / 1.061 GB " [Timeout remaining time 290] (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_2/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: 16.04155914997682]