Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",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.243/2.243, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001164/0.001164, allocations: 187.5 kB / 0.4902 GB, free: 2.273 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.537/1.537, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0008822/0.0008821, allocations: 102.5 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003632, allocations: 11.75 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.4735, allocations: 151.5 MB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4738, allocations: 75.94 kB / 1.377 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.4842, allocations: 3.87 MB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4843, allocations: 4 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.4843, allocations: 4 kB / 1.381 GB, free: 13.99 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008403/0.4852, allocations: 0.5145 MB / 1.382 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4852, allocations: 16.56 kB / 1.382 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.25e-05/0.4853, allocations: 66.47 kB / 1.382 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.4854, allocations: 31.58 kB / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.4859, allocations: 272 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.4859, allocations: 16.56 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.4859, allocations: 28 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.4865, allocations: 240.9 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4865, allocations: 3.938 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.4865, allocations: 8 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4865, allocations: 8 kB / 1.382 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.487, allocations: 206.1 kB / 1.383 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.4883, allocations: 0.7248 MB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.4888, allocations: 178.7 kB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.4888, allocations: 3.984 kB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4888, allocations: 38.56 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.4888, allocations: 0 / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.000731/0.4896, allocations: 267.7 kB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.4896, allocations: 51.41 kB / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.4899, allocations: 220 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.4899, allocations: 29.7 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.49, allocations: 152.4 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.4901, allocations: 43.36 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.4901, allocations: 8 kB / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.4902, allocations: 330.8 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.4904, allocations: 71.95 kB / 1.385 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.4907, allocations: 89.67 kB / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4908, allocations: 61.06 kB / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4909, allocations: 0 / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004586/0.4913, allocations: 206.3 kB / 1.385 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4913, allocations: 4 kB / 1.385 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4914, allocations: 3.984 kB / 1.385 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4914, allocations: 0 / 1.385 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.4916, allocations: 35.92 kB / 1.385 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4916, allocations: 0 / 1.385 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.4917, allocations: 31.91 kB / 1.385 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.4918, allocations: 4 kB / 1.385 GB, free: 9.852 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001478/0.4919, allocations: 137.8 kB / 1.385 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.492, allocations: 23.72 kB / 1.385 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.4921, allocations: 34.11 kB / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4921, allocations: 0 / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4921, allocations: 0 / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4921, allocations: 3.984 kB / 1.385 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.4925, allocations: 317.4 kB / 1.385 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4925, allocations: 0 / 1.385 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.4927, allocations: 27.98 kB / 1.385 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4927, allocations: 3.938 kB / 1.385 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.4927, allocations: 11.98 kB / 1.386 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4927, allocations: 0 / 1.386 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4927, allocations: 4 kB / 1.386 GB, free: 9.238 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.4933, allocations: 303.9 kB / 1.386 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.4933, allocations: 92.83 kB / 1.386 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.4934, allocations: 8 kB / 1.386 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.4936, allocations: 23.97 kB / 1.386 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.4937, allocations: 31.95 kB / 1.386 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.4937, allocations: 4 kB / 1.386 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001742/0.4939, allocations: 168.5 kB / 1.386 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4939, allocations: 0 / 1.386 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002905/0.4942, allocations: 43.94 kB / 1.386 GB, free: 8.547 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.gre.greHys.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.000873/0.4951, allocations: 0.8427 MB / 1.387 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.4955, allocations: 173.3 kB / 1.387 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4956, allocations: 7.938 kB / 1.387 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.4958, allocations: 87.95 kB / 1.387 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.4961, allocations: 30.11 kB / 1.387 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.4984, allocations: 1.292 MB / 1.389 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.4987, allocations: 0.7522 MB / 1.389 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.4989, allocations: 21.53 kB / 1.389 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.499, allocations: 75.41 kB / 1.389 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/0.499, allocations: 0 / 1.389 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.5176, allocations: 4.221 MB / 1.393 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.518, allocations: 257.1 kB / 1.394 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.303, allocations: 8.969 kB / 1.394 GB, free: 0.875 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat