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.327/2.327, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.00101/0.001009, allocations: 165 kB / 492.3 MB, free: 0.6055 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.452/1.452, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009343/0.0009345, allocations: 91.91 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.094e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2543, allocations: 142.3 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8272/1.082, allocations: 154.1 MB / 1.363 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/1.082, allocations: 75.12 kB / 1.363 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05227/1.134, allocations: 22.49 MB / 1.385 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.134, allocations: 3.938 kB / 1.385 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.084e-05/1.134, allocations: 42.69 kB / 1.385 GB, free: 29.95 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.002803/1.137, allocations: 1.6 MB / 1.387 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.137, allocations: 7.531 kB / 1.387 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002404/1.137, allocations: 217.6 kB / 1.387 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/1.138, allocations: 187.7 kB / 1.387 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/1.139, allocations: 0.9603 MB / 1.388 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/1.139, allocations: 128 kB / 1.388 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/1.139, allocations: 158.2 kB / 1.388 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/1.141, allocations: 1.35 MB / 1.39 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/1.141, allocations: 0 / 1.39 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.141, allocations: 64.19 kB / 1.39 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/1.141, allocations: 34.22 kB / 1.39 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/1.143, allocations: 0.9672 MB / 1.391 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005186/1.148, allocations: 4.007 MB / 1.395 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/1.15, allocations: 1.118 MB / 1.396 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/1.15, allocations: 405.1 kB / 1.396 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.724e-05/1.15, allocations: 20.14 kB / 1.396 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007194/1.151, allocations: 0.5298 MB / 1.397 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 2.926e-06/1.151, allocations: 0 / 1.397 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=104): time 0.001238/1.152, allocations: 0.7769 MB / 1.397 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/1.152, allocations: 218.1 kB / 1.397 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/1.153, allocations: 0.851 MB / 1.398 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/1.153, allocations: 68.44 kB / 1.398 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/1.154, allocations: 0.6166 MB / 1.399 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/1.154, allocations: 316 kB / 1.399 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/1.154, allocations: 23.19 kB / 1.399 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.154, allocations: 345 kB / 1.4 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/1.155, allocations: 353.5 kB / 1.4 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/1.155, allocations: 0.5368 MB / 1.4 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/1.156, allocations: 407.6 kB / 1.401 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.156, allocations: 3.953 kB / 1.401 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001451/1.157, allocations: 1.062 MB / 1.402 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/1.158, allocations: 0.5115 MB / 1.402 GB, free: 22.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.158, allocations: 3.812 kB / 1.402 GB, free: 22.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.158, allocations: 3.969 kB / 1.402 GB, free: 22.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/1.158, allocations: 192.7 kB / 1.403 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.158, allocations: 11.7 kB / 1.403 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009745/1.159, allocations: 242.3 kB / 1.403 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/1.159, allocations: 46.55 kB / 1.403 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/1.16, allocations: 5.094 kB / 1.403 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/1.161, allocations: 0.9354 MB / 1.404 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/1.161, allocations: 4 kB / 1.404 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/1.161, allocations: 4 kB / 1.404 GB, free: 22.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/1.161, allocations: 181.9 kB / 1.404 GB, free: 21.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.162, allocations: 7.984 kB / 1.404 GB, free: 21.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008835/1.162, allocations: 231.7 kB / 1.404 GB, free: 21.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/1.162, allocations: 39.17 kB / 1.404 GB, free: 21.71 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.0002355/1.163, allocations: 185.9 kB / 1.404 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/1.163, allocations: 118.5 kB / 1.405 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/1.164, allocations: 0.882 MB / 1.405 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/1.164, allocations: 12 kB / 1.405 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.164, allocations: 0 / 1.405 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/1.164, allocations: 3.984 kB / 1.405 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/1.167, allocations: 2.244 MB / 1.408 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.167, allocations: 0 / 1.408 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/1.168, allocations: 183.6 kB / 1.408 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/1.168, allocations: 7.953 kB / 1.408 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/1.168, allocations: 23.55 kB / 1.408 GB, free: 19.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/1.168, allocations: 4 kB / 1.408 GB, free: 19.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.168, allocations: 7.984 kB / 1.408 GB, free: 19.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/1.169, allocations: 1.42 MB / 1.409 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/1.17, allocations: 215.7 kB / 1.409 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/1.17, allocations: 27.12 kB / 1.409 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/1.17, allocations: 97.34 kB / 1.41 GB, free: 17.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.171, allocations: 129.5 kB / 1.41 GB, free: 17.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/1.171, allocations: 33.3 kB / 1.41 GB, free: 17.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007235/1.171, allocations: 0.6332 MB / 1.41 GB, free: 17.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.171, allocations: 0 / 1.41 GB, free: 17.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001141/1.173, allocations: 497.8 kB / 1.411 GB, free: 16.7 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.002178/1.175, allocations: 2.323 MB / 1.413 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002459/1.177, allocations: 1.656 MB / 1.415 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.177, allocations: 0 / 1.415 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006239/1.178, allocations: 422.7 kB / 1.415 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009856/1.179, allocations: 197.4 kB / 1.415 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/1.182, allocations: 1.856 MB / 1.417 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/1.183, allocations: 1.179 MB / 1.418 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0009392/1.184, allocations: 204.8 kB / 1.418 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006126/1.185, allocations: 0.5292 MB / 1.419 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of SimCode: time 8.31e-07/1.185, allocations: 0 / 1.419 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04786/1.233, allocations: 25.78 MB / 1.444 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/1.233, allocations: 212.1 kB / 1.444 GB, free: 392 kB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/4.098, allocations: 2.188 kB / 1.444 GB, free: 392 kB / 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