Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008059/0.0008059, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009307/0.0009307, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.4 MB / 0.6655 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 12 kB / 0.8149 GB, free: 14.02 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7226/0.723, allocations: 142.3 MB / 0.9539 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.001598/0.7247, allocations: 1.295 MB / 0.9552 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.7258, allocations: 1.13 MB / 0.9563 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.726, allocations: 6.156 kB / 0.9563 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.814e-05/0.726, allocations: 31.64 kB / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.7262, allocations: 32.94 kB / 0.9563 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.7264, allocations: 118 kB / 0.9565 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.7268, allocations: 446.1 kB / 0.9569 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.7272, allocations: 214.4 kB / 0.9571 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.7274, allocations: 128.8 kB / 0.9572 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.7275, allocations: 163.6 kB / 0.9574 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.7276, allocations: 18.69 kB / 0.9574 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-05/0.7276, allocations: 15.28 kB / 0.9574 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.7277, allocations: 61.97 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.7278, allocations: 91.98 kB / 0.9575 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.7282, allocations: 0.5139 MB / 0.958 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.7282, allocations: 0 / 0.958 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7282, allocations: 0 / 0.958 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.7282, allocations: 1.375 kB / 0.958 GB, free: 4.77 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001155/0.7294, allocations: 0.7075 MB / 0.9587 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/0.7294, allocations: 9.656 kB / 0.9587 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.7295, allocations: 85.14 kB / 0.9588 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.7296, allocations: 52.39 kB / 0.9589 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.7307, allocations: 0.5163 MB / 0.9594 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.7307, allocations: 42.06 kB / 0.9594 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.7308, allocations: 41.16 kB / 0.9595 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009613/0.7318, allocations: 0.5072 MB / 0.96 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.7318, allocations: 5.375 kB / 0.96 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.7318, allocations: 20.12 kB / 0.96 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.7319, allocations: 11 kB / 0.96 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.7329, allocations: 476.7 kB / 0.9604 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.7346, allocations: 1.228 MB / 0.9616 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000863/0.7354, allocations: 426.9 kB / 0.9621 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.736, allocations: 248.3 kB / 0.9623 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.736, allocations: 12.2 kB / 0.9623 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.7361, allocations: 36.81 kB / 0.9623 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 2.355e-06/0.7361, allocations: 0 / 0.9623 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001687/0.7378, allocations: 0.6322 MB / 0.963 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.7378, allocations: 107.4 kB / 0.9631 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.7381, allocations: 277 kB / 0.9633 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.7381, allocations: 34.98 kB / 0.9634 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.7382, allocations: 227.5 kB / 0.9636 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.7383, allocations: 110.3 kB / 0.9637 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.7384, allocations: 8 kB / 0.9637 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.806e-05/0.7384, allocations: 344.5 kB / 0.964 GB, free: 400 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.7389, allocations: 182.2 kB / 0.9642 GB, free: 324 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.7394, allocations: 273.2 kB / 0.9644 GB, free: 140 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.7399, allocations: 191.2 kB / 0.9646 GB, free: 56 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7399, allocations: 1.281 kB / 0.9646 GB, free: 56 kB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001248/0.7412, allocations: 0.503 MB / 0.9651 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.7412, allocations: 10.8 kB / 0.9651 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7412, allocations: 2.156 kB / 0.9651 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.7413, allocations: 4.875 kB / 0.9651 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.7418, allocations: 113.8 kB / 0.9652 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.7418, allocations: 4.25 kB / 0.9652 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.7421, allocations: 76.3 kB / 0.9653 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.7421, allocations: 20.14 kB / 0.9653 GB, free: 15.73 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 23 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000235/0.7424, allocations: 175 kB / 0.9655 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.485e-05/0.7425, allocations: 38.61 kB / 0.9655 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.227e-05/0.7426, allocations: 41.27 kB / 0.9656 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.7426, allocations: 8.469 kB / 0.9656 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.7426, allocations: 1.031 kB / 0.9656 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7426, allocations: 0.9688 kB / 0.9656 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.7433, allocations: 449.3 kB / 0.966 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7434, allocations: 1.031 kB / 0.966 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.7438, allocations: 98.36 kB / 0.9661 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.7438, allocations: 5.703 kB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.7438, allocations: 7.438 kB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.7438, allocations: 1.969 kB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7438, allocations: 4.969 kB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.7451, allocations: 0.7073 MB / 0.9668 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-05/0.7452, allocations: 111.6 kB / 0.9669 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.7452, allocations: 18.06 kB / 0.967 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.7456, allocations: 54.8 kB / 0.967 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.7458, allocations: 56.45 kB / 0.9671 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.7458, allocations: 12.72 kB / 0.9671 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001807/0.746, allocations: 178.3 kB / 0.9672 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.746, allocations: 0 / 0.9672 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004805/0.7465, allocations: 90.28 kB / 0.9673 GB, free: 14.26 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001696/0.7482, allocations: 1.262 MB / 0.9686 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.7494, allocations: 455.8 kB / 0.969 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.7494, allocations: 0 / 0.969 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/0.7501, allocations: 266.4 kB / 0.9692 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.7507, allocations: 52.72 kB / 0.9693 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.7548, allocations: 2.152 MB / 0.9714 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.7552, allocations: 0.8131 MB / 0.9722 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000286/0.7555, allocations: 57.97 kB / 0.9722 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.7557, allocations: 154.8 kB / 0.9724 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of SimCode: time 1.112e-06/0.7558, allocations: 0 / 0.9724 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.7737, allocations: 6.577 MB / 0.9788 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.774, allocations: 251.7 kB / 0.9791 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.566, allocations: 2.031 kB / 0.9791 GB, free: 5.922 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat