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.001349/0.001349, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001395/0.001395, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.966/2.966, allocations: 0.49 GB / 0.7923 GB, free: 1.449 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.002018/0.002018, allocations: 59.91 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9212/0.9232, allocations: 176.1 MB / 1.322 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002067/0.9253, allocations: 1.138 MB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.9263, allocations: 1.066 MB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.9264, allocations: 2.844 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.726e-05/0.9264, allocations: 26.3 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.9266, allocations: 37.61 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.9268, allocations: 84.59 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.927, allocations: 224.8 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.9272, allocations: 104.5 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.9274, allocations: 95.11 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.9275, allocations: 105.9 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.9276, allocations: 24.09 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.187e-05/0.9276, allocations: 27.47 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.9277, allocations: 51.47 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.9277, allocations: 103 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.928, allocations: 316.6 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.928, allocations: 0 / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.928, allocations: 0 / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.928, allocations: 3.312 kB / 1.325 GB, free: 22.59 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.0006073/0.9286, allocations: 0.5055 MB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.9286, allocations: 11.83 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.505e-05/0.9287, allocations: 9.938 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.9287, allocations: 53.78 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.9288, allocations: 32.17 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.9292, allocations: 280.9 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.9293, allocations: 19.31 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.9293, allocations: 17.91 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.9297, allocations: 212 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.9297, allocations: 0 / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.9297, allocations: 6.531 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.9297, allocations: 5.188 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.9301, allocations: 157.7 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.9307, allocations: 0.5941 MB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.931, allocations: 147.5 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.9312, allocations: 60.06 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.9312, allocations: 7.484 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.9312, allocations: 37.34 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.9312, allocations: 3.938 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0005926/0.9318, allocations: 215.8 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.9318, allocations: 53.81 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.932, allocations: 186.1 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.932, allocations: 26.52 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.9321, allocations: 145.5 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.9321, allocations: 45.44 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.513e-05/0.9322, allocations: 56.39 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.9322, allocations: 329.6 kB / 1.328 GB, free: 20.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.9324, allocations: 56.05 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.9326, allocations: 97.53 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.9329, allocations: 149.7 kB / 1.328 GB, free: 20.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9329, allocations: 4.906 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004421/0.9334, allocations: 186.6 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.9334, allocations: 8.344 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.9334, allocations: 5.719 kB / 1.328 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.9334, allocations: 10.17 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.9336, allocations: 30.02 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.9336, allocations: 2.688 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.9337, allocations: 23.12 kB / 1.328 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.9337, allocations: 5.719 kB / 1.328 GB, free: 19.95 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.0001384/0.9339, allocations: 148.3 kB / 1.329 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.9339, allocations: 18.75 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.934, allocations: 20.75 kB / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.934, allocations: 2.438 kB / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.934, allocations: 0 / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.934, allocations: 4.234 kB / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.9342, allocations: 283.1 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9342, allocations: 0.5 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.9344, allocations: 30.34 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.9344, allocations: 1.062 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.9344, allocations: 1.125 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9344, allocations: 5.125 kB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.9344, allocations: 0 / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.9348, allocations: 259.7 kB / 1.329 GB, free: 19.35 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.9348, allocations: 89.55 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.9348, allocations: 8.781 kB / 1.329 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.935, allocations: 11.94 kB / 1.329 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.9351, allocations: 22.98 kB / 1.329 GB, free: 19.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.9351, allocations: 6.578 kB / 1.329 GB, free: 19.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.994e-05/0.9351, allocations: 119.3 kB / 1.329 GB, free: 19.14 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9351, allocations: 1 kB / 1.329 GB, free: 19.14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002838/0.9354, allocations: 41.14 kB / 1.329 GB, free: 19.12 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.0005947/0.936, allocations: 0.818 MB / 1.33 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.9364, allocations: 142.7 kB / 1.33 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9364, allocations: 8 kB / 1.33 GB, free: 18.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.9366, allocations: 68.83 kB / 1.33 GB, free: 18.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.9369, allocations: 17.95 kB / 1.331 GB, free: 18.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.9392, allocations: 1.979 MB / 1.332 GB, free: 16.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.9393, allocations: 0.7288 MB / 1.333 GB, free: 16.09 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.789e-05/0.9394, allocations: 26.08 kB / 1.333 GB, free: 16.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.9395, allocations: 65.3 kB / 1.333 GB, free: 16.04 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.9395, allocations: 1.094 kB / 1.333 GB, free: 16.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.9609, allocations: 3.346 MB / 1.337 GB, free: 15.58 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.847/9.808, allocations: 4.469 kB / 1.337 GB, free: 15.58 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.26068774802843] Failed to read output from testmodel.py, exit status != 0: 9.93621484900359 9.951574773 9.020166628 Calling exit ...