Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.181/2.181, 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.001051/0.001052, allocations: 182.7 kB / 498.1 MB, free: 5.723 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.449/1.449, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0008893/0.0008894, allocations: 95.89 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 6.938 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2469, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.4233, allocations: 150.3 MB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4236, allocations: 83.92 kB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007987/0.4316, allocations: 3.096 MB / 1.373 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4317, allocations: 0 / 1.373 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.4317, allocations: 4 kB / 1.373 GB, free: 8.469 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.0006272/0.4323, allocations: 479 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4324, allocations: 8.031 kB / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.621e-05/0.4324, allocations: 54.55 kB / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.4325, allocations: 31.61 kB / 1.373 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.4327, allocations: 190.8 kB / 1.374 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.4327, allocations: 16.44 kB / 1.374 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.4327, allocations: 20 kB / 1.374 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.4331, allocations: 199.3 kB / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4332, allocations: 0 / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.4332, allocations: 8 kB / 1.374 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4332, allocations: 4 kB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.4336, allocations: 181.6 kB / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/0.4346, allocations: 0.6076 MB / 1.375 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.4349, allocations: 154.6 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.435, allocations: 0 / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.435, allocations: 34.56 kB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.435, allocations: 0 / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0006312/0.4357, allocations: 252.3 kB / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.4357, allocations: 51.41 kB / 1.375 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.4359, allocations: 174.1 kB / 1.375 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.4359, allocations: 29.7 kB / 1.375 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.436, allocations: 136.2 kB / 1.375 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.436, allocations: 35.52 kB / 1.375 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.436, allocations: 7.938 kB / 1.375 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4362, allocations: 326.8 kB / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.4363, allocations: 63.97 kB / 1.376 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.4365, allocations: 63.95 kB / 1.376 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.4367, allocations: 55.91 kB / 1.376 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4367, allocations: 0 / 1.376 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003778/0.4371, allocations: 183.7 kB / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4371, allocations: 7.953 kB / 1.376 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4371, allocations: 4 kB / 1.376 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4371, allocations: 3.938 kB / 1.376 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.4373, allocations: 27.92 kB / 1.376 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4373, allocations: 3.984 kB / 1.376 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.4374, allocations: 19.84 kB / 1.376 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.4375, allocations: 11.98 kB / 1.376 GB, free: 4.859 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.0001116/0.4376, allocations: 133.6 kB / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.4376, allocations: 11.81 kB / 1.376 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.4377, allocations: 21.48 kB / 1.376 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4377, allocations: 4 kB / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4377, allocations: 3.984 kB / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4377, allocations: 7.922 kB / 1.376 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.438, allocations: 269.5 kB / 1.377 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.438, allocations: 4 kB / 1.377 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.4382, allocations: 35.91 kB / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.4382, allocations: 4 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4382, allocations: 0 / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4382, allocations: 3.953 kB / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4382, allocations: 0 / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.4387, allocations: 279.2 kB / 1.377 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.4387, allocations: 92.92 kB / 1.377 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.4388, allocations: 4 kB / 1.377 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.4389, allocations: 15.98 kB / 1.377 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.439, allocations: 27.92 kB / 1.377 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.439, allocations: 7.984 kB / 1.377 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000114/0.4391, allocations: 132.1 kB / 1.377 GB, free: 3.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4391, allocations: 3.938 kB / 1.377 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002563/0.4394, allocations: 35.91 kB / 1.377 GB, free: 3.691 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.0007488/0.4402, allocations: 0.8291 MB / 1.378 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.4406, allocations: 155.8 kB / 1.378 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4406, allocations: 0 / 1.378 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.4408, allocations: 91.89 kB / 1.378 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.441, allocations: 12.14 kB / 1.378 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.4428, allocations: 1.061 MB / 1.379 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.4431, allocations: 0.7321 MB / 1.38 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.14e-05/0.4432, allocations: 21.42 kB / 1.38 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.4434, allocations: 55.41 kB / 1.38 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of SimCode: time 4.21e-07/0.4434, allocations: 0 / 1.38 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.4601, allocations: 3.278 MB / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/0.4604, allocations: 246.5 kB / 1.384 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.167, allocations: 6 kB / 1.384 GB, free: 13.27 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat