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.298/2.298, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001369/0.00137, allocations: 177.1 kB / 498.1 MB, free: 5.746 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.504/1.504, allocations: 223.2 MB / 0.7948 GB, free: 18.03 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.0008752/0.0008751, allocations: 99.67 kB / 0.9346 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 10.44 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2517, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1775/0.4293, allocations: 150.3 MB / 1.37 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.4296, allocations: 75.94 kB / 1.37 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007798/0.4374, allocations: 3.104 MB / 1.373 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4374, allocations: 0 / 1.373 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.4374, allocations: 8 kB / 1.373 GB, free: 8.562 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006291/0.4381, allocations: 471 kB / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4381, allocations: 12.03 kB / 1.373 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/0.4382, allocations: 50.55 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.4382, allocations: 31.61 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.4384, allocations: 186.8 kB / 1.374 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.4384, allocations: 16.44 kB / 1.374 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.4385, allocations: 20 kB / 1.374 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.4389, allocations: 203.3 kB / 1.374 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4389, allocations: 0 / 1.374 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.439, allocations: 4 kB / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.439, allocations: 4 kB / 1.374 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.4394, allocations: 181.6 kB / 1.374 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009184/0.4404, allocations: 0.6115 MB / 1.375 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.4407, allocations: 154.5 kB / 1.375 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.4407, allocations: 4.031 kB / 1.375 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.4408, allocations: 30.56 kB / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.4408, allocations: 0 / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0006409/0.4414, allocations: 245.6 kB / 1.375 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.4415, allocations: 55.41 kB / 1.375 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.4416, allocations: 170.1 kB / 1.375 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.4417, allocations: 37.7 kB / 1.375 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.4418, allocations: 136.1 kB / 1.375 GB, free: 5.77 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.4418, allocations: 35.58 kB / 1.375 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.4418, allocations: 7.938 kB / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4419, allocations: 322.8 kB / 1.376 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.4421, allocations: 59.97 kB / 1.376 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.4423, allocations: 70.2 kB / 1.376 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.4424, allocations: 55.91 kB / 1.376 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4425, allocations: 0 / 1.376 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004008/0.4429, allocations: 177.4 kB / 1.376 GB, free: 5.043 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4429, allocations: 7.953 kB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4429, allocations: 0 / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4429, allocations: 0 / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.4431, allocations: 43.84 kB / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4431, allocations: 0 / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.4432, allocations: 27.83 kB / 1.376 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4433, allocations: 0 / 1.376 GB, free: 4.965 MB / 0.8698 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 () * Number of clocked 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 0.0001158/0.4434, allocations: 133.6 kB / 1.376 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.4434, allocations: 19.81 kB / 1.376 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.4435, allocations: 29.47 kB / 1.376 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4435, allocations: 3.938 kB / 1.376 GB, free: 4.773 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4435, allocations: 0 / 1.376 GB, free: 4.773 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4435, allocations: 0 / 1.376 GB, free: 4.773 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.4438, allocations: 273.5 kB / 1.377 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4438, allocations: 0 / 1.377 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.444, allocations: 31.92 kB / 1.377 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.444, allocations: 0 / 1.377 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.444, allocations: 4 kB / 1.377 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.444, allocations: 3.953 kB / 1.377 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.444, allocations: 7.984 kB / 1.377 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.4444, allocations: 277.6 kB / 1.377 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.4445, allocations: 96.89 kB / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.4445, allocations: 4 kB / 1.377 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.4447, allocations: 8 kB / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.4448, allocations: 35.91 kB / 1.377 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.4448, allocations: 0 / 1.377 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.717e-05/0.4449, allocations: 136.1 kB / 1.377 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4449, allocations: 3.938 kB / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002495/0.4451, allocations: 43.89 kB / 1.377 GB, free: 3.785 MB / 0.8698 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 () * Number of clocked 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.0007617/0.4459, allocations: 0.819 MB / 1.378 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003938/0.4463, allocations: 157.6 kB / 1.378 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4463, allocations: 0 / 1.378 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.4465, allocations: 87.89 kB / 1.378 GB, free: 2.699 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.4468, allocations: 24.08 kB / 1.378 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.4485, allocations: 1.051 MB / 1.379 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.4489, allocations: 0.736 MB / 1.38 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.053e-05/0.449, allocations: 17.42 kB / 1.38 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.4491, allocations: 59.41 kB / 1.38 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of SimCode: time 3.9e-07/0.4491, allocations: 0 / 1.38 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.4635, allocations: 3.276 MB / 1.383 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.4638, allocations: 263.3 kB / 1.384 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.131, allocations: 3.938 kB / 1.384 GB, free: 13.37 MB / 0.8855 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