Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.001703/0.001703, allocations: 101.5 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.002145/0.002145, allocations: 216.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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.231/3.231, allocations: 0.49 GB / 0.7959 GB, free: 33.37 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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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.002056/0.002056, allocations: 65.69 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3647, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002932/0.3676, allocations: 1.156 MB / 1.328 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3693, allocations: 1.069 MB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.3695, allocations: 4 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.911e-05/0.3695, allocations: 19.73 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.3697, allocations: 35.67 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.37, allocations: 91.78 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.3703, allocations: 224.2 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.3705, allocations: 96.59 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.3709, allocations: 103.6 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.371, allocations: 103.5 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.3711, allocations: 24 kB / 1.33 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.802e-05/0.3711, allocations: 28 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.3712, allocations: 59.77 kB / 1.33 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.3713, allocations: 99.47 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.3718, allocations: 314.8 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3718, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.917e-06/0.3718, allocations: 3.984 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.3718, allocations: 0 / 1.33 GB, free: 14.53 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.0008977/0.3727, allocations: 433.7 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 8.596e-05/0.3728, allocations: 12.03 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.311e-05/0.3728, allocations: 4.625 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.31e-05/0.3729, allocations: 54.73 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.3731, allocations: 40.73 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.3736, allocations: 203.2 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.3736, allocations: 20.81 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.3736, allocations: 28.31 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.3741, allocations: 199.6 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3741, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.3741, allocations: 12 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3741, allocations: 4 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.3745, allocations: 153.7 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008969/0.3754, allocations: 0.561 MB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.3758, allocations: 146.6 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.376, allocations: 60.81 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.376, allocations: 11.94 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.376, allocations: 34.56 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.376, allocations: 0 / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006759/0.3767, allocations: 218.7 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.3767, allocations: 51.41 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3769, allocations: 190.7 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.377, allocations: 29.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3771, allocations: 140.5 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.3771, allocations: 43.64 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/0.3772, allocations: 53.69 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3774, allocations: 322.8 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.3775, allocations: 55.95 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.3778, allocations: 101.1 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.3781, allocations: 150.4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3781, allocations: 7.875 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000467/0.3786, allocations: 199.2 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3786, allocations: 4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3786, allocations: 7.922 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.3786, allocations: 4 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.3788, allocations: 27.98 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3788, allocations: 0 / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.379, allocations: 31.81 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.379, allocations: 4 kB / 1.333 GB, free: 10.75 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.0002436/0.3792, allocations: 152.5 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.3793, allocations: 15.91 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.3793, allocations: 17.81 kB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3793, allocations: 0 / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3793, allocations: 0 / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3793, allocations: 0 / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.3797, allocations: 260.4 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3797, allocations: 0 / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.3798, allocations: 31.91 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3798, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3798, allocations: 4 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3798, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3798, allocations: 4 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.3803, allocations: 255.3 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.3803, allocations: 23.84 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.3803, allocations: 0 / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.3805, allocations: 11.98 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.3806, allocations: 23.91 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3806, allocations: 8 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.829e-05/0.3807, allocations: 119.2 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3807, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002893/0.381, allocations: 35.89 kB / 1.334 GB, free: 9.738 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.0008349/0.3818, allocations: 0.8153 MB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004558/0.3822, allocations: 145.9 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3822, allocations: 0 / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.3824, allocations: 75.89 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3828, allocations: 12.94 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.3856, allocations: 1.992 MB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.3859, allocations: 0.732 MB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.386, allocations: 25.47 kB / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.3861, allocations: 67.41 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/0.3861, allocations: 0 / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.4109, allocations: 3.485 MB / 1.342 GB, free: 2.441 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.47, allocations: 11.83 kB / 1.342 GB, free: 2.434 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.342150142998435] Failed to read output from testmodel.py, exit status != 0: 12.641629230987746 12.673992969 12.296505595 Calling exit ...