Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.345/2.345, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001053/0.001053, allocations: 172.9 kB / 487.4 MB, free: 5.047 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.394/1.394, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001017, allocations: 87.91 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.263e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 142.4 MB / 1.206 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7897/1.038, allocations: 150.2 MB / 1.353 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.039, allocations: 74.94 kB / 1.353 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01621/1.055, allocations: 6.005 MB / 1.359 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/1.055, allocations: 0 / 1.359 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.44e-05/1.055, allocations: 11.59 kB / 1.359 GB, free: 33.86 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.001386/1.056, allocations: 0.6825 MB / 1.359 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.056, allocations: 7.719 kB / 1.359 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/1.057, allocations: 55.77 kB / 1.359 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/1.057, allocations: 231.1 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/1.057, allocations: 20.03 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/1.057, allocations: 31 kB / 1.36 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005625/1.058, allocations: 292.3 kB / 1.36 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/1.058, allocations: 382.7 kB / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.058, allocations: 3.984 kB / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/1.058, allocations: 0 / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/1.058, allocations: 11.56 kB / 1.36 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/1.06, allocations: 1.198 MB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/1.06, allocations: 340.9 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/1.061, allocations: 159.1 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/1.061, allocations: 3.875 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/1.061, allocations: 36.97 kB / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.943e-06/1.061, allocations: 4 kB / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.000545/1.061, allocations: 283.9 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/1.061, allocations: 113.9 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/1.062, allocations: 219.1 kB / 1.363 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/1.062, allocations: 28.52 kB / 1.363 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/1.062, allocations: 209.2 kB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/1.062, allocations: 116.9 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/1.062, allocations: 0 / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.062, allocations: 342 kB / 1.363 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/1.062, allocations: 103.9 kB / 1.363 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/1.062, allocations: 131.6 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/1.063, allocations: 78.14 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.063, allocations: 0 / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003919/1.063, allocations: 279 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.063, allocations: 7.719 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/1.063, allocations: 0 / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.063, allocations: 7.844 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/1.063, allocations: 100.1 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.064, allocations: 3.844 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/1.064, allocations: 72.2 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/1.064, allocations: 10.55 kB / 1.364 GB, free: 31.43 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.0001258/1.064, allocations: 116 kB / 1.364 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004327/1.064, allocations: 284.8 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.065, allocations: 31.16 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/1.065, allocations: 36.39 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.065, allocations: 7.797 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.065, allocations: 7.844 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.065, allocations: 2.578 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/1.065, allocations: 407.1 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/1.065, allocations: 7.984 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/1.066, allocations: 96.19 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/1.066, allocations: 3.312 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/1.066, allocations: 11.16 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/1.066, allocations: 2.625 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.066, allocations: 0 / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/1.066, allocations: 0.5611 MB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/1.066, allocations: 104.4 kB / 1.366 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/1.066, allocations: 7.953 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/1.067, allocations: 49.67 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/1.067, allocations: 67.47 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/1.067, allocations: 11.12 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001291/1.067, allocations: 156.8 kB / 1.366 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.067, allocations: 0 / 1.366 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004191/1.068, allocations: 77.25 kB / 1.366 GB, free: 30.49 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.0008948/1.068, allocations: 1.262 MB / 1.367 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004191/1.069, allocations: 268.8 kB / 1.368 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.069, allocations: 0 / 1.368 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/1.069, allocations: 184.6 kB / 1.368 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/1.069, allocations: 28.95 kB / 1.368 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/1.071, allocations: 0.5419 MB / 1.368 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/1.071, allocations: 0.8253 MB / 1.369 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001886/1.071, allocations: 35.3 kB / 1.369 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/1.071, allocations: 140.6 kB / 1.369 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/1.071, allocations: 0 / 1.369 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/1.098, allocations: 6.199 MB / 1.375 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/1.098, allocations: 206.9 kB / 1.375 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/3.23, allocations: 5.125 kB / 1.375 GB, free: 27.84 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat