Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.338/2.338, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001092/0.001092, allocations: 183.9 kB / 0.4901 GB, free: 2.227 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.43/1.43, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001086/0.001086, allocations: 92.33 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 10.41 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2483, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.4294, allocations: 151.7 MB / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4296, allocations: 75.95 kB / 1.378 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01649/0.4461, allocations: 6.051 MB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4462, allocations: 0 / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.4462, allocations: 12 kB / 1.383 GB, free: 11.55 MB / 0.8855 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.001314/0.4475, allocations: 0.7133 MB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4476, allocations: 8.562 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.4477, allocations: 86.47 kB / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/0.4478, allocations: 55.33 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.448, allocations: 250.1 kB / 1.385 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.4481, allocations: 37 kB / 1.385 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.4482, allocations: 40 kB / 1.385 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.4494, allocations: 0.5485 MB / 1.385 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4494, allocations: 0 / 1.385 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.4494, allocations: 20 kB / 1.385 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4495, allocations: 12 kB / 1.385 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.4508, allocations: 0.5178 MB / 1.386 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.4528, allocations: 1.29 MB / 1.387 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.4539, allocations: 467.7 kB / 1.387 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.4539, allocations: 11.92 kB / 1.387 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.454, allocations: 55.02 kB / 1.387 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 1.904e-06/0.454, allocations: 0 / 1.387 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.002074/0.456, allocations: 0.7291 MB / 1.388 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.4561, allocations: 106.8 kB / 1.388 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.4564, allocations: 275.5 kB / 1.389 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.4565, allocations: 37.64 kB / 1.389 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.4566, allocations: 204.6 kB / 1.389 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4567, allocations: 122.3 kB / 1.389 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.4567, allocations: 12 kB / 1.389 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4569, allocations: 338.8 kB / 1.389 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.4575, allocations: 212.5 kB / 1.389 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.4581, allocations: 239.7 kB / 1.39 GB, free: 4.941 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.4586, allocations: 195.9 kB / 1.39 GB, free: 4.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4587, allocations: 0 / 1.39 GB, free: 4.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001281/0.4599, allocations: 0.5056 MB / 1.39 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.46, allocations: 8.938 kB / 1.39 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.46, allocations: 0 / 1.39 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.46, allocations: 7.953 kB / 1.39 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.4605, allocations: 103.9 kB / 1.39 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.4606, allocations: 4 kB / 1.39 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.4609, allocations: 79.62 kB / 1.391 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.461, allocations: 15.98 kB / 1.391 GB, free: 4.023 MB / 0.8855 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 () * Number of clocked 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.0002243/0.4612, allocations: 161.8 kB / 1.391 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.4613, allocations: 31.62 kB / 1.391 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.949e-05/0.4614, allocations: 50.3 kB / 1.391 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.4614, allocations: 7.953 kB / 1.391 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4614, allocations: 4 kB / 1.391 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4615, allocations: 0 / 1.391 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006878/0.4622, allocations: 485 kB / 1.391 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.4622, allocations: 0 / 1.391 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.4626, allocations: 103.9 kB / 1.391 GB, free: 3.141 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.4626, allocations: 4 kB / 1.391 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.4627, allocations: 7.984 kB / 1.391 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4627, allocations: 4 kB / 1.391 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4627, allocations: 3.953 kB / 1.391 GB, free: 3.121 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.4641, allocations: 0.7936 MB / 1.392 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/0.4642, allocations: 108.6 kB / 1.392 GB, free: 2.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.4643, allocations: 11.95 kB / 1.392 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.4647, allocations: 63.94 kB / 1.392 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.4649, allocations: 59.86 kB / 1.392 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.4649, allocations: 15.98 kB / 1.392 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002069/0.4651, allocations: 203.1 kB / 1.393 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4651, allocations: 0 / 1.393 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004575/0.4656, allocations: 83.78 kB / 1.393 GB, free: 1.75 MB / 0.8855 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 () * 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.001862/0.4675, allocations: 1.496 MB / 1.394 GB, free: 220 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.4688, allocations: 0.4966 MB / 1.395 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4688, allocations: 0 / 1.395 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007503/0.4696, allocations: 295.7 kB / 1.395 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.47, allocations: 33.95 kB / 1.395 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.4746, allocations: 2.637 MB / 1.397 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.475, allocations: 0.8197 MB / 1.398 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.4753, allocations: 42.22 kB / 1.398 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.4755, allocations: 143.4 kB / 1.398 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of SimCode: time 5.81e-07/0.4755, allocations: 0 / 1.398 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.4956, allocations: 7.085 MB / 1.405 GB, free: 4.836 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.4958, allocations: 246.8 kB / 1.406 GB, free: 4.594 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.637, allocations: 0 / 1.406 GB, free: 4.594 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat