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.Overrides.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.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides",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.383/2.383, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001098/0.001098, allocations: 182.9 kB / 0.4901 GB, free: 2.238 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.478/1.478, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0008648/0.0008647, allocations: 104.2 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003348, allocations: 11.22 kB / 1.09 GB, free: 216.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2916, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.4839, allocations: 151.7 MB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.4843, allocations: 75.94 kB / 1.378 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01708/0.5014, allocations: 6.059 MB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5014, allocations: 0 / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.5014, allocations: 12 kB / 1.383 GB, free: 11.62 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.001309/0.5027, allocations: 0.7055 MB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.5028, allocations: 12.56 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.5029, allocations: 82.52 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.503, allocations: 55.34 kB / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.5033, allocations: 246.1 kB / 1.385 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.5033, allocations: 48.98 kB / 1.385 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.5034, allocations: 40 kB / 1.385 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.5046, allocations: 0.5446 MB / 1.385 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5046, allocations: 4 kB / 1.385 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.5046, allocations: 16 kB / 1.385 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.5047, allocations: 12 kB / 1.385 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.5061, allocations: 0.5217 MB / 1.386 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.5081, allocations: 1.29 MB / 1.387 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.5091, allocations: 475.6 kB / 1.387 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.5092, allocations: 7.984 kB / 1.387 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.5092, allocations: 46.98 kB / 1.387 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 2.424e-06/0.5092, allocations: 0 / 1.387 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.002045/0.5113, allocations: 0.7248 MB / 1.388 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.5114, allocations: 114.8 kB / 1.388 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.5116, allocations: 275.5 kB / 1.389 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.5117, allocations: 33.7 kB / 1.389 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.5118, allocations: 204.6 kB / 1.389 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.5119, allocations: 122.3 kB / 1.389 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.512, allocations: 4 kB / 1.389 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5121, allocations: 346.8 kB / 1.389 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005946/0.5127, allocations: 208.5 kB / 1.389 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.5133, allocations: 243.7 kB / 1.39 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.5139, allocations: 196.5 kB / 1.39 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5139, allocations: 0 / 1.39 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00136/0.5153, allocations: 0.5059 MB / 1.39 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5153, allocations: 4 kB / 1.39 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.5153, allocations: 4 kB / 1.39 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.5153, allocations: 7.938 kB / 1.39 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.5159, allocations: 103.9 kB / 1.39 GB, free: 4.188 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.5159, allocations: 0 / 1.39 GB, free: 4.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.5163, allocations: 79.62 kB / 1.39 GB, free: 4.109 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.5163, allocations: 12 kB / 1.391 GB, free: 4.098 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.0002268/0.5165, allocations: 171.5 kB / 1.391 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.5167, allocations: 31.62 kB / 1.391 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.932e-05/0.5168, allocations: 50.36 kB / 1.391 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.5168, allocations: 11.94 kB / 1.391 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5168, allocations: 0 / 1.391 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5168, allocations: 0 / 1.391 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.5175, allocations: 481.1 kB / 1.391 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5175, allocations: 4 kB / 1.391 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.518, allocations: 103.8 kB / 1.391 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.518, allocations: 4 kB / 1.391 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.5181, allocations: 8 kB / 1.391 GB, free: 3.195 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5181, allocations: 0 / 1.391 GB, free: 3.195 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5181, allocations: 7.953 kB / 1.391 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.5196, allocations: 0.7897 MB / 1.392 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/0.5197, allocations: 124.5 kB / 1.392 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.5197, allocations: 7.953 kB / 1.392 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.5202, allocations: 59.94 kB / 1.392 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.5203, allocations: 63.92 kB / 1.392 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.5204, allocations: 8 kB / 1.392 GB, free: 2.094 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001936/0.5206, allocations: 211.1 kB / 1.393 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5206, allocations: 0 / 1.393 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004454/0.521, allocations: 83.78 kB / 1.393 GB, free: 1.809 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.00186/0.5229, allocations: 1.497 MB / 1.394 GB, free: 280 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.5242, allocations: 495.4 kB / 1.395 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5242, allocations: 4 kB / 1.395 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.525, allocations: 296.8 kB / 1.395 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.5254, allocations: 40.64 kB / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.5299, allocations: 2.629 MB / 1.397 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.5303, allocations: 0.8197 MB / 1.398 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002062/0.5305, allocations: 38.28 kB / 1.398 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.5307, allocations: 143.4 kB / 1.398 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of SimCode: time 5.31e-07/0.5308, allocations: 0 / 1.398 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.5504, allocations: 7.098 MB / 1.405 GB, free: 4.898 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.5506, allocations: 240.5 kB / 1.406 GB, free: 4.66 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/2.737, allocations: 1.562 kB / 1.406 GB, free: 4.66 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.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.Overrides_res.mat does not exist to compare? outputFormat=mat