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.Overrides.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.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",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.266/2.266, 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.001054/0.001054, allocations: 173.1 kB / 498.1 MB, free: 5.781 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.436/1.436, allocations: 223.2 MB / 0.7948 GB, free: 18.94 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.0009312/0.0009312, allocations: 106.5 kB / 0.9346 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 11.22 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2878, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.4729, allocations: 150.9 MB / 1.37 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4732, allocations: 75.95 kB / 1.37 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01657/0.4898, allocations: 6.05 MB / 1.376 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4899, allocations: 0 / 1.376 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.4899, allocations: 8 kB / 1.376 GB, free: 12.26 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001389/0.4913, allocations: 0.7254 MB / 1.377 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.4913, allocations: 12.03 kB / 1.377 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.4915, allocations: 82.52 kB / 1.377 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.4916, allocations: 55.34 kB / 1.377 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.4918, allocations: 234.3 kB / 1.377 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.4919, allocations: 48.98 kB / 1.377 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.492, allocations: 47.98 kB / 1.377 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.4931, allocations: 0.5407 MB / 1.378 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4931, allocations: 4 kB / 1.378 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.4932, allocations: 16 kB / 1.378 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.4932, allocations: 19.92 kB / 1.378 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.4945, allocations: 0.5131 MB / 1.379 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.4964, allocations: 1.298 MB / 1.38 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.4974, allocations: 467.7 kB / 1.38 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.4974, allocations: 7.984 kB / 1.38 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.4975, allocations: 38.52 kB / 1.38 GB, free: 7.957 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 1.843e-06/0.4975, allocations: 4 kB / 1.38 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.001937/0.4994, allocations: 0.7223 MB / 1.381 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.4995, allocations: 122.7 kB / 1.381 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.4997, allocations: 275.5 kB / 1.381 GB, free: 6.809 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.4998, allocations: 33.7 kB / 1.381 GB, free: 6.77 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.4999, allocations: 208.6 kB / 1.382 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.5, allocations: 114.4 kB / 1.382 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.5001, allocations: 4 kB / 1.382 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5002, allocations: 346.8 kB / 1.382 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006036/0.5008, allocations: 216.4 kB / 1.382 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.5014, allocations: 241 kB / 1.383 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.5019, allocations: 197.1 kB / 1.383 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.502, allocations: 0 / 1.383 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001249/0.5032, allocations: 0.5058 MB / 1.383 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.5032, allocations: 7.984 kB / 1.383 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5033, allocations: 0 / 1.383 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.5033, allocations: 7.953 kB / 1.383 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.5038, allocations: 103.9 kB / 1.383 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5038, allocations: 0 / 1.383 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.5042, allocations: 79.62 kB / 1.383 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.5042, allocations: 12 kB / 1.383 GB, free: 4.727 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002252/0.5045, allocations: 165.7 kB / 1.384 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.5046, allocations: 43.52 kB / 1.384 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.433e-05/0.5047, allocations: 42.36 kB / 1.384 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5047, allocations: 11.95 kB / 1.384 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.5047, allocations: 0 / 1.384 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5047, allocations: 0 / 1.384 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/0.5053, allocations: 477.1 kB / 1.384 GB, free: 3.945 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.5053, allocations: 7.969 kB / 1.384 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.5058, allocations: 103.9 kB / 1.384 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.5058, allocations: 4 kB / 1.384 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.5059, allocations: 8 kB / 1.384 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5059, allocations: 3.984 kB / 1.384 GB, free: 3.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5059, allocations: 3.953 kB / 1.384 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.5072, allocations: 0.793 MB / 1.385 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.5073, allocations: 112.6 kB / 1.385 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.5074, allocations: 15.95 kB / 1.385 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.5078, allocations: 63.94 kB / 1.385 GB, free: 2.789 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.508, allocations: 63.86 kB / 1.385 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.508, allocations: 11.98 kB / 1.385 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001781/0.5082, allocations: 203.1 kB / 1.385 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5082, allocations: 0 / 1.385 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004515/0.5087, allocations: 83.75 kB / 1.386 GB, free: 2.438 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.001738/0.5104, allocations: 1.5 MB / 1.387 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.5117, allocations: 0.4929 MB / 1.387 GB, free: 420 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5117, allocations: 4 kB / 1.387 GB, free: 416 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007158/0.5124, allocations: 299.7 kB / 1.388 GB, free: 116 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.5129, allocations: 36.64 kB / 1.388 GB, free: 76 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.5177, allocations: 2.626 MB / 1.39 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.5182, allocations: 0.8197 MB / 1.391 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.5184, allocations: 38.28 kB / 1.391 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.5187, allocations: 143.4 kB / 1.391 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/0.5187, allocations: 0 / 1.391 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.5457, allocations: 7.097 MB / 1.398 GB, free: 5.52 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.546, allocations: 236.2 kB / 1.398 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.672, allocations: 0 / 1.398 GB, free: 5.281 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.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.Overrides_res.mat does not exist to compare? outputFormat=mat