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.333/2.333, allocations: 390.5 MB / 398 MB, free: 10.95 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.0009435/0.0009436, allocations: 176.8 kB / 491.2 MB, free: 1.562 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.489/1.489, allocations: 221.5 MB / 0.7868 GB, free: 13.38 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.0008425/0.0008424, allocations: 99.39 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.055e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2844, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.311, allocations: 151 MB / 1.36 GB, free: 17.71 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/1.311, allocations: 72.92 kB / 1.36 GB, free: 17.71 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01623/1.327, allocations: 6.006 MB / 1.366 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.595e-06/1.327, allocations: 0 / 1.366 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.489e-05/1.327, allocations: 7.656 kB / 1.366 GB, free: 33.06 MB / 0.8386 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.001271/1.328, allocations: 0.6829 MB / 1.366 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/1.328, allocations: 11.66 kB / 1.366 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/1.329, allocations: 50.53 kB / 1.367 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/1.329, allocations: 235.4 kB / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/1.329, allocations: 22.56 kB / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/1.329, allocations: 26.88 kB / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005867/1.33, allocations: 293.3 kB / 1.367 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/1.33, allocations: 385 kB / 1.367 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/1.33, allocations: 0 / 1.367 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/1.33, allocations: 3.188 kB / 1.367 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/1.33, allocations: 12 kB / 1.367 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/1.332, allocations: 1.199 MB / 1.369 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/1.332, allocations: 333.3 kB / 1.369 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/1.333, allocations: 163 kB / 1.369 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/1.333, allocations: 7.75 kB / 1.369 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/1.333, allocations: 37.23 kB / 1.369 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/1.333, allocations: 7.75 kB / 1.369 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40): time 0.0005265/1.333, allocations: 280.3 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/1.333, allocations: 106.7 kB / 1.37 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/1.334, allocations: 230.6 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/1.334, allocations: 25.7 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/1.334, allocations: 210.9 kB / 1.37 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/1.334, allocations: 112.8 kB / 1.37 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/1.334, allocations: 0 / 1.37 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.334, allocations: 342.9 kB / 1.37 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/1.334, allocations: 93.72 kB / 1.371 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/1.334, allocations: 145.4 kB / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/1.334, allocations: 82.81 kB / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.334, allocations: 0 / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003729/1.335, allocations: 274.5 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.335, allocations: 7.688 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.335, allocations: 0 / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.335, allocations: 3.969 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/1.335, allocations: 109.6 kB / 1.371 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/1.335, allocations: 11.84 kB / 1.371 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/1.336, allocations: 63.27 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/1.336, allocations: 7.688 kB / 1.371 GB, free: 30.62 MB / 0.8386 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 () * 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.0001113/1.336, allocations: 115.9 kB / 1.371 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004339/1.336, allocations: 291.8 kB / 1.372 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/1.336, allocations: 31.16 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.837e-05/1.336, allocations: 35.7 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.336, allocations: 7.625 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.336, allocations: 4 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.336, allocations: 2.438 kB / 1.372 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/1.337, allocations: 409.1 kB / 1.372 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.337, allocations: 0 / 1.372 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/1.337, allocations: 108.1 kB / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.337, allocations: 0 / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/1.337, allocations: 3.75 kB / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.337, allocations: 0 / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.337, allocations: 3.953 kB / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/1.338, allocations: 0.5563 MB / 1.373 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/1.338, allocations: 108.2 kB / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/1.338, allocations: 3.953 kB / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/1.338, allocations: 56.89 kB / 1.373 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.339, allocations: 61.67 kB / 1.373 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/1.339, allocations: 13.31 kB / 1.373 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001202/1.339, allocations: 153.5 kB / 1.373 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.339, allocations: 7.938 kB / 1.373 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003918/1.339, allocations: 73.31 kB / 1.373 GB, free: 29.69 MB / 0.8386 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 () * 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.0008828/1.34, allocations: 1.261 MB / 1.374 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004143/1.341, allocations: 270.9 kB / 1.375 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.341, allocations: 0 / 1.375 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/1.341, allocations: 178.4 kB / 1.375 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/1.341, allocations: 32.84 kB / 1.375 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/1.342, allocations: 0.5431 MB / 1.375 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/1.343, allocations: 0.8229 MB / 1.376 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001832/1.343, allocations: 30.89 kB / 1.376 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/1.343, allocations: 142.1 kB / 1.376 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.343, allocations: 0 / 1.376 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/1.37, allocations: 6.201 MB / 1.382 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/1.37, allocations: 207.4 kB / 1.383 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/3.503, allocations: 4 kB / 1.383 GB, free: 26.92 MB / 0.8386 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