Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 387.1 MB / 399.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 176.9 kB / 492.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 87.94 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.698e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3062, allocations: 142.4 MB / 1.213 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.375, allocations: 150.8 MB / 1.36 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.376, allocations: 72.42 kB / 1.36 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01567/1.391, allocations: 6.054 MB / 1.366 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/1.392, allocations: 0 / 1.366 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.44e-05/1.392, allocations: 7.656 kB / 1.366 GB, free: 34.18 MB / 0.8386 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.001206/1.393, allocations: 0.6855 MB / 1.366 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.393, allocations: 11.66 kB / 1.366 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.173e-05/1.393, allocations: 84.5 kB / 1.367 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/1.393, allocations: 53.31 kB / 1.367 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/1.393, allocations: 236 kB / 1.367 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/1.393, allocations: 33.84 kB / 1.367 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/1.393, allocations: 48.78 kB / 1.367 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007117/1.394, allocations: 453.9 kB / 1.367 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.394, allocations: 0 / 1.367 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/1.394, allocations: 17.88 kB / 1.367 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/1.394, allocations: 11.5 kB / 1.367 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/1.395, allocations: 315.7 kB / 1.368 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/1.396, allocations: 1.297 MB / 1.369 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/1.397, allocations: 371.9 kB / 1.369 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/1.397, allocations: 165 kB / 1.369 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/1.397, allocations: 7.594 kB / 1.369 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/1.397, allocations: 41.12 kB / 1.37 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.523e-06/1.397, allocations: 0 / 1.37 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0005868/1.398, allocations: 313.3 kB / 1.37 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/1.398, allocations: 114.2 kB / 1.37 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/1.398, allocations: 274 kB / 1.37 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/1.398, allocations: 32.89 kB / 1.37 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/1.398, allocations: 212.5 kB / 1.37 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/1.398, allocations: 113.2 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/1.398, allocations: 6.75 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.398, allocations: 344.5 kB / 1.371 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/1.398, allocations: 111.5 kB / 1.371 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/1.399, allocations: 138.4 kB / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/1.399, allocations: 93.38 kB / 1.371 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.399, allocations: 0 / 1.371 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004209/1.399, allocations: 312.7 kB / 1.371 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.399, allocations: 3.875 kB / 1.371 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.399, allocations: 0 / 1.371 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.399, allocations: 7.828 kB / 1.371 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/1.4, allocations: 106.6 kB / 1.372 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/1.4, allocations: 0 / 1.372 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/1.4, allocations: 80.8 kB / 1.372 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/1.4, allocations: 15.25 kB / 1.372 GB, free: 31.65 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001217/1.4, allocations: 128.5 kB / 1.372 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/1.4, allocations: 38.88 kB / 1.372 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/1.4, allocations: 45.48 kB / 1.372 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.4, allocations: 7.953 kB / 1.372 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.4, allocations: 3.953 kB / 1.372 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.4, allocations: 0 / 1.372 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/1.401, allocations: 482.9 kB / 1.372 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.401, allocations: 3.875 kB / 1.372 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/1.401, allocations: 102.6 kB / 1.372 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.401, allocations: 3.844 kB / 1.372 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/1.401, allocations: 9.453 kB / 1.372 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.401, allocations: 3.844 kB / 1.372 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.402, allocations: 7.938 kB / 1.372 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005653/1.402, allocations: 0.5837 MB / 1.373 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/1.402, allocations: 111.8 kB / 1.373 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/1.402, allocations: 9.766 kB / 1.373 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/1.403, allocations: 63.95 kB / 1.373 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/1.403, allocations: 58.22 kB / 1.373 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/1.403, allocations: 14.53 kB / 1.373 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000156/1.403, allocations: 205.4 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.61e-07/1.403, allocations: 0 / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003692/1.403, allocations: 90.67 kB / 1.374 GB, free: 30.72 MB / 0.8386 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.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete 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.0008714/1.404, allocations: 1.278 MB / 1.375 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004376/1.405, allocations: 295.2 kB / 1.375 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.405, allocations: 0 / 1.375 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002797/1.405, allocations: 193.3 kB / 1.375 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/1.405, allocations: 44.73 kB / 1.375 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/1.406, allocations: 0.5718 MB / 1.376 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/1.407, allocations: 0.8225 MB / 1.377 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001907/1.407, allocations: 35.36 kB / 1.377 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/1.407, allocations: 145.1 kB / 1.377 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/1.407, allocations: 4 kB / 1.377 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/1.425, allocations: 7.14 MB / 1.384 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/1.425, allocations: 211.9 kB / 1.384 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/3.546, allocations: 6.234 kB / 1.384 GB, free: 27.32 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat