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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001428/0.001428, allocations: 185.2 kB / 498.1 MB, free: 5.738 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.442/1.442, allocations: 223.1 MB / 0.7948 GB, free: 17.94 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.001027/0.001027, allocations: 104.2 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 9.875 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2231, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.3857, allocations: 150.9 MB / 1.37 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.386, allocations: 83.69 kB / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01647/0.4025, allocations: 6.051 MB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4025, allocations: 0 / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.025e-05/0.4025, allocations: 8 kB / 1.376 GB, free: 4.934 MB / 0.8698 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.001365/0.4039, allocations: 0.7209 MB / 1.377 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.404, allocations: 8.031 kB / 1.377 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.4041, allocations: 90.52 kB / 1.377 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.4042, allocations: 55.34 kB / 1.377 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.4045, allocations: 234.3 kB / 1.377 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.4045, allocations: 37 kB / 1.377 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.4046, allocations: 48 kB / 1.377 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.4057, allocations: 0.5408 MB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4058, allocations: 0 / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.4058, allocations: 20 kB / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.4058, allocations: 12 kB / 1.378 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.4072, allocations: 0.5208 MB / 1.379 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.4091, allocations: 1.294 MB / 1.38 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.4101, allocations: 471.8 kB / 1.38 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.4102, allocations: 7.984 kB / 1.38 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4102, allocations: 47.36 kB / 1.38 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=40): time 1.793e-06/0.4102, allocations: 0 / 1.38 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.001996/0.4122, allocations: 0.7258 MB / 1.381 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.4123, allocations: 106.8 kB / 1.381 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.4126, allocations: 275.5 kB / 1.381 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.4126, allocations: 33.64 kB / 1.381 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.4128, allocations: 220.5 kB / 1.382 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.394e-05/0.4129, allocations: 114.4 kB / 1.382 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.4129, allocations: 8 kB / 1.382 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4131, allocations: 346.8 kB / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/0.4136, allocations: 204.5 kB / 1.382 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.4143, allocations: 252.9 kB / 1.383 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.4148, allocations: 191.9 kB / 1.383 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4148, allocations: 0 / 1.383 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001263/0.4161, allocations: 0.5146 MB / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4161, allocations: 7.938 kB / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4161, allocations: 0 / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.4161, allocations: 7.953 kB / 1.383 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.4167, allocations: 103.8 kB / 1.383 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.4167, allocations: 0 / 1.383 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.417, allocations: 75.7 kB / 1.383 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.4171, allocations: 15.97 kB / 1.383 GB, free: 13.41 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.0002004/0.4173, allocations: 165.6 kB / 1.384 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/0.4174, allocations: 35.53 kB / 1.384 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.64e-05/0.4175, allocations: 42.36 kB / 1.384 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.4175, allocations: 11.95 kB / 1.384 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4175, allocations: 0 / 1.384 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4175, allocations: 7.984 kB / 1.384 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.4182, allocations: 485.1 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4182, allocations: 0 / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004625/0.4186, allocations: 107.8 kB / 1.384 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.4186, allocations: 4 kB / 1.384 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.4187, allocations: 4 kB / 1.384 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.4187, allocations: 8 kB / 1.384 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4187, allocations: 7.891 kB / 1.384 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.4201, allocations: 0.7807 MB / 1.385 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.4202, allocations: 116.6 kB / 1.385 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.4202, allocations: 15.95 kB / 1.385 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.4206, allocations: 51.95 kB / 1.385 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.4208, allocations: 67.91 kB / 1.385 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.4208, allocations: 12 kB / 1.385 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001779/0.421, allocations: 203.1 kB / 1.385 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.421, allocations: 0 / 1.385 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004249/0.4214, allocations: 91.69 kB / 1.386 GB, free: 11.12 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.001803/0.4232, allocations: 1.488 MB / 1.387 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.4245, allocations: 0.5046 MB / 1.387 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4245, allocations: 0 / 1.387 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006966/0.4252, allocations: 299.6 kB / 1.388 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.4256, allocations: 32.64 kB / 1.388 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.43, allocations: 2.625 MB / 1.39 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.4304, allocations: 0.8275 MB / 1.391 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.4306, allocations: 34.28 kB / 1.391 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.4308, allocations: 151.3 kB / 1.391 GB, free: 5.031 MB / 0.8855 GB Notification: Performance of SimCode: time 6.82e-07/0.4308, allocations: 4 kB / 1.391 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.4515, allocations: 7.093 MB / 1.398 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.4517, allocations: 248.8 kB / 1.399 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.452, allocations: 0 / 1.399 GB, free: 13.87 MB / 0.9011 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