Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.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.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers",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.399/2.399, allocations: 390.5 MB / 398 MB, free: 10.91 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.001007/0.001007, allocations: 184.8 kB / 491.2 MB, free: 1.551 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.927/1.927, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001175/0.001175, allocations: 97.2 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.384e-05, allocations: 5.719 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3614, allocations: 143 MB / 1.212 GB, free: 39.33 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8742/1.236, allocations: 154.2 MB / 1.363 GB, free: 17.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.236, allocations: 72.53 kB / 1.363 GB, free: 17.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05148/1.287, allocations: 22.32 MB / 1.385 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.783e-06/1.287, allocations: 0 / 1.385 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.276e-05/1.288, allocations: 34.59 kB / 1.385 GB, free: 28.31 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.002905/1.29, allocations: 1.608 MB / 1.387 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.29, allocations: 11.69 kB / 1.387 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003662/1.291, allocations: 185.5 kB / 1.387 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/1.293, allocations: 0.956 MB / 1.388 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/1.293, allocations: 55.88 kB / 1.388 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/1.293, allocations: 96.31 kB / 1.388 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001529/1.294, allocations: 0.891 MB / 1.389 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/1.296, allocations: 1.139 MB / 1.39 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/1.296, allocations: 0 / 1.39 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/1.296, allocations: 3.906 kB / 1.39 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/1.296, allocations: 38.64 kB / 1.39 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005966/1.302, allocations: 3.669 MB / 1.393 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/1.304, allocations: 1.074 MB / 1.394 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/1.304, allocations: 375.3 kB / 1.395 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.976e-05/1.304, allocations: 16.27 kB / 1.395 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006501/1.305, allocations: 0.5026 MB / 1.395 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 2.745e-06/1.305, allocations: 0 / 1.395 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=104): time 0.001183/1.306, allocations: 0.7075 MB / 1.396 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/1.306, allocations: 218.5 kB / 1.396 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006465/1.307, allocations: 0.5761 MB / 1.397 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/1.307, allocations: 43.41 kB / 1.397 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/1.308, allocations: 0.6347 MB / 1.397 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/1.308, allocations: 304.1 kB / 1.398 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/1.308, allocations: 3.562 kB / 1.398 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/1.308, allocations: 344.4 kB / 1.398 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/1.308, allocations: 330.5 kB / 1.398 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/1.309, allocations: 0.499 MB / 1.399 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/1.31, allocations: 346.2 kB / 1.399 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.31, allocations: 4 kB / 1.399 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00138/1.311, allocations: 0.9346 MB / 1.4 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/1.311, allocations: 0.5088 MB / 1.401 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.311, allocations: 0 / 1.401 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-05/1.311, allocations: 7.625 kB / 1.401 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007154/1.312, allocations: 196.8 kB / 1.401 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.312, allocations: 3.844 kB / 1.401 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009074/1.313, allocations: 193.4 kB / 1.401 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/1.313, allocations: 38.05 kB / 1.401 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/1.313, allocations: 5.406 kB / 1.401 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001259/1.314, allocations: 0.8062 MB / 1.402 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.314, allocations: 3.844 kB / 1.402 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/1.314, allocations: 3.969 kB / 1.402 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/1.315, allocations: 178.6 kB / 1.402 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.315, allocations: 3.812 kB / 1.402 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/1.316, allocations: 175.8 kB / 1.402 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/1.316, allocations: 46.45 kB / 1.402 GB, free: 21.33 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition6,$whenCondition5,dam.and4.y,$PRE.dam.greThr1.greHys.y,dam.greThr1.greHys.y,$PRE.dam.greThr.greHys.y,dam.greThr.greHys.y,$PRE.dam.greThr2.greHys.y,dam.greThr2.greHys.y,dam.not1.y,$PRE.dam.greThr3.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,$PRE.dam1.greThr1.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr.greHys.y,dam1.greThr.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,$PRE.dam1.greThr3.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,$PRE.cooAhu.y,cooAhu.y,$PRE.heaAhu.y,heaAhu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 2 * 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.0002533/1.316, allocations: 138.8 kB / 1.402 GB, free: 21.21 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009068/1.317, allocations: 0.6954 MB / 1.403 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/1.317, allocations: 96.56 kB / 1.403 GB, free: 21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/1.318, allocations: 0.7872 MB / 1.404 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.318, allocations: 7.719 kB / 1.404 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.318, allocations: 7.922 kB / 1.404 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.318, allocations: 3.984 kB / 1.404 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/1.321, allocations: 1.989 MB / 1.406 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.321, allocations: 0 / 1.406 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006779/1.322, allocations: 179 kB / 1.406 GB, free: 19.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/1.322, allocations: 7.953 kB / 1.406 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/1.322, allocations: 11.97 kB / 1.406 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.322, allocations: 12 kB / 1.406 GB, free: 19.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.322, allocations: 4 kB / 1.406 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/1.323, allocations: 1.331 MB / 1.407 GB, free: 18.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/1.324, allocations: 178.8 kB / 1.407 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.324, allocations: 11.31 kB / 1.408 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005819/1.324, allocations: 87.81 kB / 1.408 GB, free: 18.53 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/1.324, allocations: 127.2 kB / 1.408 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.557e-05/1.325, allocations: 31.17 kB / 1.408 GB, free: 18.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004264/1.325, allocations: 425.6 kB / 1.408 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.325, allocations: 0 / 1.408 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00107/1.326, allocations: 491.8 kB / 1.409 GB, free: 17.63 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (dam1.conCooDam.I.y,dam1.conHeaDam.I.y) * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam.and4.y,dam.greThr1.greHys.y,dam.greThr.greHys.y,dam.greThr2.greHys.y,dam.not1.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,dam1.greThr1.greHys.y,dam1.greThr.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,cooAhu.y,heaAhu.y) * Number of discrete states: 8 (dam.greThr.greHys.y,dam.greThr3.greHys.y,dam1.greThr.greHys.y,dam1.greThr3.greHys.y,dam1.greThr1.greHys.y,dam.greThr1.greHys.y,dam1.greThr2.greHys.y,dam.greThr2.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002128/1.328, allocations: 2.193 MB / 1.411 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001916/1.33, allocations: 1.57 MB / 1.412 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/1.33, allocations: 0 / 1.412 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004987/1.331, allocations: 401.4 kB / 1.413 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.332, allocations: 163.6 kB / 1.413 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/1.336, allocations: 1.733 MB / 1.415 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008189/1.337, allocations: 1.177 MB / 1.416 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008715/1.337, allocations: 174.5 kB / 1.416 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005632/1.338, allocations: 0.5135 MB / 1.416 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of SimCode: time 9.82e-07/1.338, allocations: 0 / 1.416 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0492/1.387, allocations: 21.7 MB / 1.438 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/1.388, allocations: 212.8 kB / 1.438 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/4.191, allocations: 0 / 1.438 GB, free: 5.434 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat does not exist to compare? outputFormat=mat