Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001948/0.001948, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002398/0.002398, allocations: 219.2 kB / 23.04 MB, free: 5.074 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.613/1.613, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.333/3.333, allocations: 0.49 GB / 0.7959 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="cs",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.002/0.002, allocations: 65.03 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3715, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002997/0.3745, allocations: 1.14 MB / 1.328 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.376, allocations: 1.069 MB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.3762, allocations: 4 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.879e-05/0.3762, allocations: 23.67 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.3764, allocations: 43.66 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.3767, allocations: 87.8 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.3769, allocations: 228.2 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.3772, allocations: 96.59 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.3774, allocations: 103.6 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.3776, allocations: 103.5 kB / 1.33 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.3776, allocations: 24 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.343e-05/0.3777, allocations: 28 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.3777, allocations: 51.84 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3778, allocations: 103.5 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.3783, allocations: 318.9 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3783, allocations: 3.938 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3783, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3783, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 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.0007671/0.379, allocations: 431.4 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3791, allocations: 8.031 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.101e-05/0.3791, allocations: 4.625 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.293e-05/0.3792, allocations: 58.72 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.3793, allocations: 36.75 kB / 1.331 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.3798, allocations: 216.2 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.3798, allocations: 16.81 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.3799, allocations: 16.38 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.3803, allocations: 207.5 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3803, allocations: 4 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.3803, allocations: 4 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3804, allocations: 8 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.3808, allocations: 157.6 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008706/0.3817, allocations: 0.5532 MB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.382, allocations: 154.6 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.3822, allocations: 62.86 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.3822, allocations: 3.938 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3823, allocations: 30.56 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 3.226e-06/0.3823, allocations: 8 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006325/0.3829, allocations: 217.3 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.383, allocations: 55.41 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3831, allocations: 186.6 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3832, allocations: 25.7 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3833, allocations: 144.5 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.3833, allocations: 51.7 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.3834, allocations: 49.7 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3835, allocations: 322.8 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.3837, allocations: 63.95 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.3839, allocations: 97.11 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.3843, allocations: 142.3 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3843, allocations: 11.88 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004597/0.3847, allocations: 190.8 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3848, allocations: 8 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3848, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3848, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.385, allocations: 36.06 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.385, allocations: 4 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3851, allocations: 23.88 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.3851, allocations: 4 kB / 1.333 GB, free: 10.78 MB / 1.029 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.0002049/0.3853, allocations: 150.2 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.3854, allocations: 11.91 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.505e-05/0.3854, allocations: 29.8 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3854, allocations: 4 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3854, allocations: 0 / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3854, allocations: 0 / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.3858, allocations: 252.4 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3858, allocations: 0 / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3859, allocations: 27.92 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3859, allocations: 0 / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3859, allocations: 7.984 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3859, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3859, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.3864, allocations: 261.2 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.3864, allocations: 15.84 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3864, allocations: 7.984 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.3866, allocations: 8 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.3866, allocations: 31.95 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.3866, allocations: 0 / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.817e-05/0.3867, allocations: 119.2 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3867, allocations: 0 / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000282/0.387, allocations: 39.89 kB / 1.334 GB, free: 9.766 MB / 1.029 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.0007906/0.3878, allocations: 0.8132 MB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.3882, allocations: 143.7 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3882, allocations: 0 / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.3884, allocations: 76.2 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.3887, allocations: 33.62 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.3915, allocations: 1.978 MB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.3918, allocations: 0.732 MB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.3919, allocations: 21.48 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.3921, allocations: 71.41 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of SimCode: time 4.6e-07/0.3921, allocations: 0 / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.4164, allocations: 3.468 MB / 1.342 GB, free: 2.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.88, allocations: 8.688 kB / 1.342 GB, free: 2.469 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.96214893698925] Failed to read output from testmodel.py, exit status != 0: 12.046865552954841 12.076028062 11.692975685 Calling exit ...