Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.17/2.17, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001012/0.001012, allocations: 179.4 kB / 498.1 MB, free: 5.754 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.561/1.561, allocations: 223.1 MB / 0.7948 GB, free: 17.89 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.001148/0.001148, allocations: 106.7 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003521, allocations: 12.09 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2964, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.4733, allocations: 150.3 MB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.4736, allocations: 75.94 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008754/0.4824, allocations: 3.108 MB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4825, allocations: 3.938 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.4825, allocations: 4 kB / 1.373 GB, free: 8.445 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.0007644/0.4833, allocations: 467 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.4833, allocations: 12.03 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/0.4834, allocations: 50.55 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.4835, allocations: 31.61 kB / 1.373 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.4837, allocations: 194.8 kB / 1.374 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.4837, allocations: 16.44 kB / 1.374 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.4838, allocations: 20 kB / 1.374 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.4843, allocations: 199.3 kB / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4843, allocations: 0 / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.4843, allocations: 8 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4843, allocations: 8 kB / 1.374 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.4848, allocations: 177.6 kB / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.4858, allocations: 0.6037 MB / 1.375 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.4862, allocations: 161 kB / 1.375 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.4862, allocations: 0 / 1.375 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.4863, allocations: 30.56 kB / 1.375 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.4863, allocations: 0 / 1.375 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0006921/0.487, allocations: 245.6 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.487, allocations: 55.41 kB / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.4873, allocations: 174.1 kB / 1.375 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.4873, allocations: 29.7 kB / 1.375 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.4874, allocations: 144.2 kB / 1.375 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.4874, allocations: 27.53 kB / 1.375 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.4875, allocations: 11.94 kB / 1.375 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4876, allocations: 322.8 kB / 1.376 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.4878, allocations: 59.97 kB / 1.376 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.4879, allocations: 67.95 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.4881, allocations: 58.58 kB / 1.376 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4881, allocations: 0 / 1.376 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003997/0.4885, allocations: 181.4 kB / 1.376 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4886, allocations: 7.953 kB / 1.376 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4886, allocations: 0 / 1.376 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4886, allocations: 0 / 1.376 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.4888, allocations: 31.92 kB / 1.376 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4888, allocations: 3.984 kB / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.4889, allocations: 23.84 kB / 1.376 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.489, allocations: 7.984 kB / 1.376 GB, free: 4.852 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.0001547/0.4891, allocations: 128.4 kB / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.4892, allocations: 15.81 kB / 1.376 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.4892, allocations: 29.48 kB / 1.376 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4892, allocations: 0 / 1.376 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.4892, allocations: 0 / 1.376 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4893, allocations: 3.984 kB / 1.376 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.4896, allocations: 277.5 kB / 1.377 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.4896, allocations: 0 / 1.377 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.4898, allocations: 31.91 kB / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4898, allocations: 0 / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.4898, allocations: 4 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4898, allocations: 11.95 kB / 1.377 GB, free: 4.305 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4898, allocations: 0 / 1.377 GB, free: 4.305 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.4903, allocations: 279.2 kB / 1.377 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.4904, allocations: 92.91 kB / 1.377 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.4904, allocations: 4 kB / 1.377 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4906, allocations: 11.98 kB / 1.377 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.4907, allocations: 31.92 kB / 1.377 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.4907, allocations: 7.984 kB / 1.377 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001293/0.4908, allocations: 132.1 kB / 1.377 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4908, allocations: 7.938 kB / 1.377 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002923/0.4911, allocations: 39.91 kB / 1.377 GB, free: 3.676 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.0008562/0.492, allocations: 0.8238 MB / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.4924, allocations: 155.8 kB / 1.378 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4924, allocations: 0 / 1.378 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.4926, allocations: 87.89 kB / 1.378 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.4929, allocations: 20.14 kB / 1.378 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.4949, allocations: 1.053 MB / 1.379 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.4953, allocations: 0.7399 MB / 1.38 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.195e-05/0.4954, allocations: 17.36 kB / 1.38 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4955, allocations: 64.03 kB / 1.38 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of SimCode: time 7.41e-07/0.4955, allocations: 0 / 1.38 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.5122, allocations: 3.266 MB / 1.383 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.5124, allocations: 244.2 kB / 1.384 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.158, allocations: 7.938 kB / 1.384 GB, free: 13.35 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat