Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.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.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001712/0.001712, allocations: 184.8 kB / 487.4 MB, free: 5.031 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.509/1.509, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009706/0.0009705, allocations: 101.4 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.96e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2274, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.884/1.112, allocations: 153.4 MB / 1.356 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/1.112, allocations: 77.67 kB / 1.356 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05216/1.164, allocations: 22.32 MB / 1.378 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.164, allocations: 0 / 1.378 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.794e-05/1.164, allocations: 34.75 kB / 1.378 GB, free: 30.36 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.002583/1.167, allocations: 1.612 MB / 1.379 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.167, allocations: 7.625 kB / 1.379 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/1.167, allocations: 190.3 kB / 1.38 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/1.169, allocations: 0.9591 MB / 1.38 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/1.169, allocations: 53.98 kB / 1.381 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/1.169, allocations: 103.6 kB / 1.381 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001432/1.17, allocations: 0.8893 MB / 1.382 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/1.172, allocations: 1.137 MB / 1.383 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/1.172, allocations: 0 / 1.383 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-05/1.172, allocations: 3.969 kB / 1.383 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/1.172, allocations: 34.91 kB / 1.383 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005149/1.177, allocations: 3.663 MB / 1.386 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/1.179, allocations: 1.079 MB / 1.387 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/1.179, allocations: 372.8 kB / 1.388 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.059e-05/1.179, allocations: 12.22 kB / 1.388 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006536/1.18, allocations: 0.4986 MB / 1.388 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 2.695e-06/1.18, allocations: 0 / 1.388 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=104): time 0.001072/1.181, allocations: 0.7025 MB / 1.389 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/1.181, allocations: 226.5 kB / 1.389 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/1.182, allocations: 0.5788 MB / 1.39 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.323e-05/1.182, allocations: 36.92 kB / 1.39 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/1.182, allocations: 0.6393 MB / 1.39 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/1.182, allocations: 300.5 kB / 1.391 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/1.183, allocations: 3.844 kB / 1.391 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.183, allocations: 351.1 kB / 1.391 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/1.183, allocations: 326.6 kB / 1.391 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/1.184, allocations: 0.4983 MB / 1.392 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/1.185, allocations: 349.1 kB / 1.392 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.185, allocations: 0 / 1.392 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001529/1.186, allocations: 0.9349 MB / 1.393 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002385/1.186, allocations: 0.5071 MB / 1.393 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.186, allocations: 0 / 1.393 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/1.186, allocations: 7.875 kB / 1.393 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/1.187, allocations: 198.9 kB / 1.394 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.187, allocations: 7.781 kB / 1.394 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000985/1.188, allocations: 193.6 kB / 1.394 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.188, allocations: 38.17 kB / 1.394 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.188, allocations: 7.812 kB / 1.394 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/1.19, allocations: 0.8042 MB / 1.395 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/1.19, allocations: 0 / 1.395 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/1.19, allocations: 3.844 kB / 1.395 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/1.19, allocations: 184.4 kB / 1.395 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.19, allocations: 7.688 kB / 1.395 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008833/1.191, allocations: 167.3 kB / 1.395 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/1.191, allocations: 38.52 kB / 1.395 GB, free: 23.38 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.0002534/1.192, allocations: 143.1 kB / 1.395 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001011/1.193, allocations: 0.6964 MB / 1.396 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/1.193, allocations: 93.28 kB / 1.396 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/1.194, allocations: 0.7878 MB / 1.397 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.194, allocations: 11.53 kB / 1.397 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.194, allocations: 0 / 1.397 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/1.194, allocations: 7.938 kB / 1.397 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/1.197, allocations: 1.998 MB / 1.399 GB, free: 22.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.197, allocations: 3.844 kB / 1.399 GB, free: 22.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/1.198, allocations: 177 kB / 1.399 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/1.198, allocations: 7.969 kB / 1.399 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/1.198, allocations: 15.53 kB / 1.399 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/1.198, allocations: 3.844 kB / 1.399 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.198, allocations: 3.844 kB / 1.399 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/1.199, allocations: 1.327 MB / 1.4 GB, free: 21.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/1.2, allocations: 181.6 kB / 1.4 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.2, allocations: 14.03 kB / 1.4 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/1.2, allocations: 81.22 kB / 1.4 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/1.201, allocations: 126.6 kB / 1.401 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-05/1.201, allocations: 36.75 kB / 1.401 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005819/1.201, allocations: 420.8 kB / 1.401 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.11e-07/1.201, allocations: 0 / 1.401 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001477/1.203, allocations: 485 kB / 1.401 GB, free: 21.16 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.002279/1.205, allocations: 2.203 MB / 1.404 GB, free: 19.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002336/1.207, allocations: 1.568 MB / 1.405 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.207, allocations: 3.781 kB / 1.405 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005188/1.208, allocations: 400.3 kB / 1.406 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009512/1.209, allocations: 163.2 kB / 1.406 GB, free: 19.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/1.213, allocations: 1.734 MB / 1.407 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000885/1.214, allocations: 1.175 MB / 1.409 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0009006/1.215, allocations: 167.2 kB / 1.409 GB, free: 17.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005931/1.215, allocations: 0.5175 MB / 1.409 GB, free: 17.71 MB / 0.8386 GB Notification: Performance of SimCode: time 8.62e-07/1.215, allocations: 0 / 1.409 GB, free: 17.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05625/1.272, allocations: 21.7 MB / 1.43 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/1.272, allocations: 213.8 kB / 1.431 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/3.965, allocations: 0 / 1.431 GB, free: 12.63 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat does not exist to compare? outputFormat=mat