Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.217/2.217, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001239/0.001238, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.001037/0.001037, allocations: 91.89 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.329e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2415, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8842/1.126, allocations: 151.6 MB / 1.367 GB, free: 2.484 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/1.126, allocations: 75.94 kB / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0166/1.143, allocations: 6.049 MB / 1.373 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.824e-06/1.143, allocations: 0 / 1.373 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.474e-05/1.143, allocations: 8 kB / 1.373 GB, free: 13.23 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.001124/1.144, allocations: 0.6831 MB / 1.374 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.144, allocations: 8.031 kB / 1.374 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.697e-05/1.144, allocations: 86.7 kB / 1.374 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.646e-05/1.144, allocations: 51.34 kB / 1.374 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/1.144, allocations: 241.7 kB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/1.144, allocations: 38.5 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/1.144, allocations: 53.69 kB / 1.374 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/1.145, allocations: 447.1 kB / 1.375 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.145, allocations: 0 / 1.375 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/1.145, allocations: 21.44 kB / 1.375 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/1.145, allocations: 12 kB / 1.375 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/1.146, allocations: 318.8 kB / 1.375 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/1.147, allocations: 1.29 MB / 1.376 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/1.148, allocations: 365.3 kB / 1.376 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/1.148, allocations: 165.2 kB / 1.377 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/1.148, allocations: 4 kB / 1.377 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/1.148, allocations: 45.69 kB / 1.377 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 3.056e-06/1.148, allocations: 4 kB / 1.377 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0005979/1.149, allocations: 310.3 kB / 1.377 GB, free: 9.816 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/1.149, allocations: 114.8 kB / 1.377 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/1.149, allocations: 270.5 kB / 1.377 GB, free: 9.461 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/1.149, allocations: 36.58 kB / 1.377 GB, free: 9.426 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/1.149, allocations: 208.5 kB / 1.378 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/1.15, allocations: 119.2 kB / 1.378 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/1.15, allocations: 7.25 kB / 1.378 GB, free: 9.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.15, allocations: 349.2 kB / 1.378 GB, free: 8.828 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/1.15, allocations: 107 kB / 1.378 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/1.15, allocations: 134.4 kB / 1.378 GB, free: 8.672 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/1.15, allocations: 87.66 kB / 1.378 GB, free: 8.621 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.15, allocations: 0 / 1.378 GB, free: 8.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005069/1.151, allocations: 313.7 kB / 1.379 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.151, allocations: 8 kB / 1.379 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.151, allocations: 3.953 kB / 1.379 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.151, allocations: 8 kB / 1.379 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/1.151, allocations: 99.53 kB / 1.379 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.151, allocations: 7.938 kB / 1.379 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/1.152, allocations: 75.08 kB / 1.379 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/1.152, allocations: 15.3 kB / 1.379 GB, free: 8.188 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.0001234/1.152, allocations: 128.7 kB / 1.379 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/1.152, allocations: 35.53 kB / 1.379 GB, free: 8.031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.129e-05/1.152, allocations: 43.64 kB / 1.379 GB, free: 8.008 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.152, allocations: 7.953 kB / 1.379 GB, free: 8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/1.152, allocations: 4 kB / 1.379 GB, free: 7.996 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.152, allocations: 3.984 kB / 1.379 GB, free: 7.992 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/1.153, allocations: 482.6 kB / 1.38 GB, free: 7.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.153, allocations: 4 kB / 1.38 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/1.153, allocations: 99.23 kB / 1.38 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/1.153, allocations: 4 kB / 1.38 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/1.153, allocations: 15.05 kB / 1.38 GB, free: 7.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.153, allocations: 4 kB / 1.38 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.153, allocations: 3.953 kB / 1.38 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/1.154, allocations: 0.5751 MB / 1.38 GB, free: 6.945 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.458e-05/1.154, allocations: 119.8 kB / 1.38 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/1.154, allocations: 15.25 kB / 1.38 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/1.155, allocations: 59.12 kB / 1.38 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.155, allocations: 62.23 kB / 1.38 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/1.155, allocations: 15.56 kB / 1.38 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001825/1.155, allocations: 203 kB / 1.381 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.155, allocations: 0 / 1.381 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003881/1.155, allocations: 83 kB / 1.381 GB, free: 6.461 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.001035/1.156, allocations: 1.289 MB / 1.382 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005004/1.157, allocations: 292.1 kB / 1.382 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.157, allocations: 0 / 1.382 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/1.157, allocations: 191.7 kB / 1.382 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/1.158, allocations: 41.89 kB / 1.382 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/1.159, allocations: 0.5788 MB / 1.383 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/1.159, allocations: 0.8197 MB / 1.384 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000203/1.16, allocations: 34.06 kB / 1.384 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/1.16, allocations: 149.6 kB / 1.384 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.16, allocations: 0 / 1.384 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/1.18, allocations: 7.152 MB / 1.391 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.18, allocations: 238.1 kB / 1.391 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/3.439, allocations: 0 / 1.391 GB, free: 12.3 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat