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.ActiveAirFlow.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.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",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.334/2.334, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001381/0.001381, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.544/1.544, allocations: 221.5 MB / 0.7824 GB, free: 0.957 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.0008365/0.0008365, allocations: 95.86 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.918e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2951, allocations: 142.4 MB / 1.206 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.328, allocations: 149.6 MB / 1.352 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.329, allocations: 76.61 kB / 1.352 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008676/1.337, allocations: 3.086 MB / 1.355 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.338, allocations: 0 / 1.355 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.204e-05/1.338, allocations: 3.875 kB / 1.355 GB, free: 33.72 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005928/1.338, allocations: 453.4 kB / 1.356 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.338, allocations: 8.531 kB / 1.356 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/1.338, allocations: 31.19 kB / 1.356 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/1.338, allocations: 199.4 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/1.338, allocations: 7.719 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/1.339, allocations: 12.23 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002289/1.339, allocations: 117.2 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/1.339, allocations: 143.1 kB / 1.356 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.339, allocations: 0 / 1.356 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/1.339, allocations: 0 / 1.356 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.339, allocations: 3.875 kB / 1.356 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008376/1.34, allocations: 0.5482 MB / 1.357 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/1.34, allocations: 114.9 kB / 1.357 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/1.34, allocations: 46.77 kB / 1.357 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/1.34, allocations: 7.812 kB / 1.357 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/1.34, allocations: 35.16 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/1.34, allocations: 0 / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.000279/1.341, allocations: 119.4 kB / 1.357 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/1.341, allocations: 55.41 kB / 1.357 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/1.341, allocations: 152.5 kB / 1.357 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/1.341, allocations: 25.7 kB / 1.357 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/1.341, allocations: 135.6 kB / 1.357 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/1.341, allocations: 33.58 kB / 1.357 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-06/1.341, allocations: 0 / 1.357 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.341, allocations: 326 kB / 1.358 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/1.341, allocations: 35.75 kB / 1.358 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/1.341, allocations: 41.14 kB / 1.358 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.437e-05/1.341, allocations: 25.48 kB / 1.358 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.341, allocations: 0 / 1.358 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001643/1.341, allocations: 124 kB / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.341, allocations: 4.469 kB / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.341, allocations: 0 / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.341, allocations: 0 / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/1.342, allocations: 33.75 kB / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/1.342, allocations: 0 / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.445e-05/1.342, allocations: 18.94 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/1.342, allocations: 1.031 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.688e-05/1.342, allocations: 114.2 kB / 1.358 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001859/1.342, allocations: 126.2 kB / 1.358 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/1.342, allocations: 12.31 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/1.342, allocations: 21.53 kB / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.342, allocations: 4.703 kB / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.342, allocations: 0 / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.342, allocations: 0.6094 kB / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/1.342, allocations: 230.2 kB / 1.358 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.342, allocations: 0 / 1.358 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/1.343, allocations: 31.92 kB / 1.359 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.343, allocations: 0 / 1.359 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/1.343, allocations: 4.5 kB / 1.359 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.343, allocations: 0 / 1.359 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.343, allocations: 9.156 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/1.343, allocations: 216.3 kB / 1.359 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/1.343, allocations: 88.77 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/1.343, allocations: 4 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/1.343, allocations: 14.22 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/1.343, allocations: 28.73 kB / 1.359 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/1.343, allocations: 3.688 kB / 1.359 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.724e-05/1.343, allocations: 110.5 kB / 1.359 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.343, allocations: 0 / 1.359 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002443/1.344, allocations: 35 kB / 1.359 GB, free: 31.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0006063/1.344, allocations: 0.7671 MB / 1.36 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001931/1.344, allocations: 103.7 kB / 1.36 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.344, allocations: 0 / 1.36 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.874e-05/1.344, allocations: 58.19 kB / 1.36 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/1.345, allocations: 11.72 kB / 1.36 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/1.345, allocations: 260.3 kB / 1.36 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/1.346, allocations: 0.7304 MB / 1.361 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.242e-05/1.346, allocations: 23.23 kB / 1.361 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/1.346, allocations: 59.02 kB / 1.361 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.346, allocations: 0 / 1.361 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/1.368, allocations: 2.595 MB / 1.363 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/1.368, allocations: 227.4 kB / 1.364 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.926, allocations: 0 / 1.364 GB, free: 29.29 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.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.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat