Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.171/2.171, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.00103/0.00103, allocations: 181 kB / 498.1 MB, free: 5.719 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.488/1.488, allocations: 223.1 MB / 0.7948 GB, free: 18.76 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.0008997/0.0008993, allocations: 102.8 kB / 0.9346 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 10.78 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2549, allocations: 142.4 MB / 1.223 GB, free: 89.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.439, allocations: 151.1 MB / 1.371 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4393, allocations: 75.95 kB / 1.371 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.4547, allocations: 5.186 MB / 1.376 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.223e-05/0.4548, allocations: 0 / 1.376 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.806e-05/0.4548, allocations: 11.94 kB / 1.376 GB, free: 12.77 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001193/0.456, allocations: 0.6147 MB / 1.376 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4561, allocations: 12.02 kB / 1.376 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.4562, allocations: 66.55 kB / 1.376 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.4563, allocations: 31.62 kB / 1.376 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.4565, allocations: 202.7 kB / 1.377 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.4565, allocations: 24.5 kB / 1.377 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.4566, allocations: 36 kB / 1.377 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008136/0.4574, allocations: 355.8 kB / 1.377 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4575, allocations: 0 / 1.377 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.4575, allocations: 16 kB / 1.377 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.4575, allocations: 8 kB / 1.377 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009201/0.4584, allocations: 328.4 kB / 1.377 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.46, allocations: 0.9693 MB / 1.378 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006755/0.4607, allocations: 291.7 kB / 1.379 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.4608, allocations: 4 kB / 1.379 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006011/0.4614, allocations: 240.1 kB / 1.379 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=24): time 3.767e-06/0.4614, allocations: 7.984 kB / 1.379 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24): time 0.001437/0.4628, allocations: 489.5 kB / 1.379 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.4629, allocations: 111 kB / 1.379 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.4632, allocations: 220.1 kB / 1.38 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.4632, allocations: 33.7 kB / 1.38 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.4633, allocations: 164.7 kB / 1.38 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.4634, allocations: 59.16 kB / 1.38 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.4635, allocations: 4 kB / 1.38 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4636, allocations: 334.8 kB / 1.38 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.4641, allocations: 152.1 kB / 1.38 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.4646, allocations: 207.3 kB / 1.381 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.465, allocations: 173.7 kB / 1.381 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.465, allocations: 4 kB / 1.381 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001078/0.4661, allocations: 435.1 kB / 1.381 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.4662, allocations: 33.7 kB / 1.381 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4662, allocations: 4 kB / 1.381 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4662, allocations: 3.938 kB / 1.381 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.4666, allocations: 64.25 kB / 1.381 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.4666, allocations: 15.95 kB / 1.381 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.467, allocations: 87.72 kB / 1.381 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.467, allocations: 19.98 kB / 1.381 GB, free: 6.727 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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.0001578/0.4672, allocations: 141.8 kB / 1.381 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.4672, allocations: 23.72 kB / 1.381 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.948e-05/0.4673, allocations: 29.7 kB / 1.382 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.4673, allocations: 4 kB / 1.382 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/0.4674, allocations: 0 / 1.382 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.4674, allocations: 7.938 kB / 1.382 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.4678, allocations: 345.3 kB / 1.382 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4678, allocations: 0 / 1.382 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.4681, allocations: 63.89 kB / 1.382 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.4681, allocations: 0 / 1.382 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.4682, allocations: 11.98 kB / 1.382 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4682, allocations: 0 / 1.382 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4682, allocations: 0 / 1.382 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009467/0.4691, allocations: 419.8 kB / 1.382 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.4692, allocations: 104.8 kB / 1.382 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.4693, allocations: 4 kB / 1.382 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.4695, allocations: 43.92 kB / 1.382 GB, free: 5.434 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.4696, allocations: 43.94 kB / 1.383 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.4697, allocations: 4 kB / 1.383 GB, free: 5.387 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001595/0.4698, allocations: 172.5 kB / 1.383 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4698, allocations: 3.938 kB / 1.383 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003476/0.4702, allocations: 67.89 kB / 1.383 GB, free: 5.148 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: 12 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveFan,ove.y1Fan,ove.intEqu1.y,ove.intEqu2.y,ove.logSwi.u3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001403/0.4716, allocations: 1.11 MB / 1.384 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009931/0.4726, allocations: 414.9 kB / 1.384 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4726, allocations: 0 / 1.384 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.4731, allocations: 183.9 kB / 1.384 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.4734, allocations: 33.73 kB / 1.384 GB, free: 3.367 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.4749, allocations: 1.41 MB / 1.386 GB, free: 1.879 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.4753, allocations: 0.7753 MB / 1.387 GB, free: 1.078 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.4754, allocations: 29.53 kB / 1.387 GB, free: 1.051 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.4756, allocations: 87.41 kB / 1.387 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/0.4756, allocations: 0 / 1.387 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.496, allocations: 5.546 MB / 1.392 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.4962, allocations: 228.8 kB / 1.392 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.392, allocations: 0 / 1.392 GB, free: 11.42 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat