Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008365/0.0008365, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008633/0.0008633, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003583, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.7988, allocations: 142.3 MB / 0.9539 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001194/0.8001, allocations: 0.7726 MB / 0.9547 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.8012, allocations: 0.9812 MB / 0.9556 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.8013, allocations: 2.938 kB / 0.9556 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.8013, allocations: 15.8 kB / 0.9556 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.8015, allocations: 21.95 kB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.8017, allocations: 55.41 kB / 0.9557 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.8018, allocations: 199.4 kB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.8021, allocations: 93.86 kB / 0.956 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.8022, allocations: 51.81 kB / 0.956 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.8023, allocations: 65.17 kB / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.8024, allocations: 9.375 kB / 0.9561 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.485e-05/0.8024, allocations: 6.125 kB / 0.9561 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.8024, allocations: 29.55 kB / 0.9561 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.8025, allocations: 53.95 kB / 0.9562 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.8027, allocations: 206.2 kB / 0.9564 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8027, allocations: 4 kB / 0.9564 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.766e-06/0.8027, allocations: 0 / 0.9564 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.8027, allocations: 0 / 0.9564 GB, free: 6.082 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005896/0.8033, allocations: 470.2 kB / 0.9568 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8033, allocations: 8.375 kB / 0.9569 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.8034, allocations: 53.64 kB / 0.9569 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.8034, allocations: 26.89 kB / 0.9569 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.8039, allocations: 282.1 kB / 0.9572 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.8039, allocations: 21.19 kB / 0.9572 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.804, allocations: 20.62 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.8044, allocations: 187.6 kB / 0.9574 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.8044, allocations: 5.125 kB / 0.9574 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.8044, allocations: 5.281 kB / 0.9574 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.8044, allocations: 8.719 kB / 0.9574 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.8048, allocations: 163.6 kB / 0.9576 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.8056, allocations: 0.5685 MB / 0.9581 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.8059, allocations: 136.3 kB / 0.9583 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.8061, allocations: 64.52 kB / 0.9583 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.8061, allocations: 1.344 kB / 0.9583 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.8061, allocations: 35.91 kB / 0.9584 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.8061, allocations: 0 / 0.9584 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005656/0.8067, allocations: 226.7 kB / 0.9586 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.8068, allocations: 56.56 kB / 0.9586 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.8069, allocations: 171.4 kB / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.8069, allocations: 27.39 kB / 0.9588 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.807, allocations: 142 kB / 0.959 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.807, allocations: 44.77 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-06/0.807, allocations: 1.531 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.8071, allocations: 329.7 kB / 0.9593 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.8073, allocations: 61.41 kB / 0.9594 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.8074, allocations: 99.97 kB / 0.9595 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.8076, allocations: 60.5 kB / 0.9595 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8076, allocations: 5.375 kB / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003623/0.8079, allocations: 190.4 kB / 0.9597 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.808, allocations: 9.531 kB / 0.9597 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.808, allocations: 1.375 kB / 0.9597 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.808, allocations: 2.75 kB / 0.9597 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.8082, allocations: 32.72 kB / 0.9598 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.8082, allocations: 6.688 kB / 0.9598 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.794e-05/0.8083, allocations: 26.83 kB / 0.9598 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.8083, allocations: 5.5 kB / 0.9598 GB, free: 3.289 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.766e-05/0.8084, allocations: 142.1 kB / 0.9599 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.8085, allocations: 14.78 kB / 0.96 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.8085, allocations: 20.27 kB / 0.96 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.8085, allocations: 1.375 kB / 0.96 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.8085, allocations: 5.312 kB / 0.96 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.8085, allocations: 0 / 0.96 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.8087, allocations: 273.3 kB / 0.9602 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8088, allocations: 0 / 0.9602 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.8089, allocations: 31.17 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8089, allocations: 0 / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.8089, allocations: 1.375 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.8089, allocations: 1.375 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8089, allocations: 3.984 kB / 0.9603 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.8093, allocations: 267.9 kB / 0.9605 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.8093, allocations: 84.98 kB / 0.9606 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.8093, allocations: 1.719 kB / 0.9606 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.8094, allocations: 16.11 kB / 0.9606 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.8095, allocations: 27.25 kB / 0.9607 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.8095, allocations: 3.25 kB / 0.9607 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.464e-05/0.8096, allocations: 122.8 kB / 0.9608 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8096, allocations: 1.281 kB / 0.9608 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002715/0.8099, allocations: 39.09 kB / 0.9608 GB, free: 2.398 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0005911/0.8105, allocations: 0.8181 MB / 0.9616 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003751/0.8109, allocations: 150.2 kB / 0.9618 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8109, allocations: 0 / 0.9618 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.8111, allocations: 85.42 kB / 0.9618 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.8114, allocations: 18.86 kB / 0.9619 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.8129, allocations: 0.9768 MB / 0.9628 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.8131, allocations: 0.7292 MB / 0.9635 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.8132, allocations: 27.42 kB / 0.9636 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.8134, allocations: 57.64 kB / 0.9636 GB, free: 44 kB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.8134, allocations: 0 / 0.9636 GB, free: 44 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.8278, allocations: 3.03 MB / 0.9666 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.8281, allocations: 267.6 kB / 0.9668 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.505, allocations: 1.875 kB / 0.9668 GB, free: 14.35 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat