Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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.001071/0.001071, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001529/0.001528, allocations: 177.3 kB / 15.94 MB, free: 228 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.404/1.404, allocations: 223.2 MB / 239.9 MB, free: 5.238 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.412/2.412, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 8 kB / 0.8147 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.75/0.7504, allocations: 142.3 MB / 0.9536 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.00173/0.7522, allocations: 1.314 MB / 0.9549 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.7535, allocations: 1.112 MB / 0.956 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.7537, allocations: 7.25 kB / 0.956 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.7537, allocations: 31.64 kB / 0.9561 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.7539, allocations: 47.38 kB / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.7541, allocations: 121 kB / 0.9562 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.7544, allocations: 275 kB / 0.9565 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.7547, allocations: 214.6 kB / 0.9567 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.7549, allocations: 129.3 kB / 0.9568 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.755, allocations: 162.7 kB / 0.957 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.7551, allocations: 14.19 kB / 0.957 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.851e-05/0.7551, allocations: 14.91 kB / 0.957 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.7552, allocations: 70.11 kB / 0.9571 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.7553, allocations: 92.95 kB / 0.9571 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.7556, allocations: 0.4988 MB / 0.9576 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.7556, allocations: 0 / 0.9576 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7556, allocations: 0 / 0.9576 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.7556, allocations: 0 / 0.9576 GB, free: 4.988 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.0009886/0.7566, allocations: 0.7074 MB / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.7567, allocations: 9.719 kB / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.239e-05/0.7568, allocations: 88.92 kB / 0.9584 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.7568, allocations: 53.14 kB / 0.9585 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.7579, allocations: 0.5134 MB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.7579, allocations: 40.59 kB / 0.959 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/0.758, allocations: 46.12 kB / 0.9591 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009557/0.759, allocations: 0.5074 MB / 0.9595 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.759, allocations: 0 / 0.9595 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.759, allocations: 20.12 kB / 0.9596 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.759, allocations: 11 kB / 0.9596 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.7602, allocations: 481.4 kB / 0.96 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.7616, allocations: 1.228 MB / 0.9612 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.7626, allocations: 428.8 kB / 0.9616 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.7626, allocations: 4.375 kB / 0.9616 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.7626, allocations: 44.78 kB / 0.9617 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.673e-06/0.7627, allocations: 5.062 kB / 0.9617 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001769/0.7644, allocations: 0.6293 MB / 0.9623 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.7645, allocations: 115.7 kB / 0.9624 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.7647, allocations: 276.1 kB / 0.9627 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.7647, allocations: 34.92 kB / 0.9627 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.7648, allocations: 215 kB / 0.9629 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/0.7649, allocations: 121.8 kB / 0.963 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.7649, allocations: 5.156 kB / 0.963 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.765, allocations: 338 kB / 0.9634 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.7655, allocations: 193.4 kB / 0.9635 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.766, allocations: 267.2 kB / 0.9638 GB, free: 480 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.7666, allocations: 182.1 kB / 0.964 GB, free: 404 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7666, allocations: 1.031 kB / 0.964 GB, free: 404 kB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001192/0.7678, allocations: 0.5068 MB / 0.9645 GB, free: 156 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7678, allocations: 7.562 kB / 0.9645 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.7678, allocations: 7.031 kB / 0.9645 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.7678, allocations: 5.281 kB / 0.9645 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.7683, allocations: 109.1 kB / 0.9646 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.7683, allocations: 4.938 kB / 0.9646 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.7687, allocations: 83.38 kB / 0.9647 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.7687, allocations: 11.97 kB / 0.9647 GB, free: 72 kB / 0.7169 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.0002477/0.769, allocations: 175.1 kB / 0.9649 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.7691, allocations: 38.7 kB / 0.9649 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.652e-05/0.7692, allocations: 41.2 kB / 0.9649 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.7692, allocations: 5.156 kB / 0.9649 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.7692, allocations: 5.031 kB / 0.9649 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7692, allocations: 5.203 kB / 0.965 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006141/0.7698, allocations: 452.5 kB / 0.9654 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7698, allocations: 1.312 kB / 0.9654 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.7702, allocations: 102 kB / 0.9655 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.7703, allocations: 1.969 kB / 0.9655 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.7703, allocations: 11.02 kB / 0.9655 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.7703, allocations: 1.969 kB / 0.9655 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7703, allocations: 9.109 kB / 0.9655 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.7716, allocations: 0.7317 MB / 0.9662 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-05/0.7717, allocations: 114.8 kB / 0.9663 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.7718, allocations: 10.28 kB / 0.9663 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.7721, allocations: 50.83 kB / 0.9664 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.7723, allocations: 65.02 kB / 0.9664 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.7723, allocations: 12.95 kB / 0.9665 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001625/0.7725, allocations: 173.9 kB / 0.9666 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7725, allocations: 0 / 0.9666 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004759/0.773, allocations: 89.94 kB / 0.9667 GB, free: 14.55 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.001588/0.7746, allocations: 1.432 MB / 0.9681 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.7758, allocations: 460.3 kB / 0.9685 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7758, allocations: 0 / 0.9685 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006353/0.7765, allocations: 253.7 kB / 0.9688 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.7769, allocations: 40.67 kB / 0.9688 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.7815, allocations: 3.66 MB / 0.9724 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.7819, allocations: 0.8221 MB / 0.9732 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002757/0.7822, allocations: 51.52 kB / 0.9733 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.7824, allocations: 152 kB / 0.9734 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.7824, allocations: 1.031 kB / 0.9734 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.8002, allocations: 6.546 MB / 0.9798 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.8004, allocations: 257.8 kB / 0.98 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.537, allocations: 0.5625 kB / 0.98 GB, free: 4.699 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat