Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.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.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",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.001015/0.001014, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001069/0.001069, allocations: 177.3 kB / 15.95 MB, free: 216 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.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.406/2.406, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 12 kB / 0.8147 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7698/0.7702, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.001807/0.7721, allocations: 1.32 MB / 0.9549 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.7734, allocations: 1.113 MB / 0.956 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.7736, allocations: 6.406 kB / 0.956 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.736e-05/0.7736, allocations: 31.64 kB / 0.9561 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.7738, allocations: 42.97 kB / 0.9561 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.7741, allocations: 130.1 kB / 0.9562 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.7744, allocations: 275.1 kB / 0.9565 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.7748, allocations: 209.9 kB / 0.9567 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.7749, allocations: 128.1 kB / 0.9568 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.7751, allocations: 168.3 kB / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.7752, allocations: 14.31 kB / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.678e-05/0.7752, allocations: 14.66 kB / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.7753, allocations: 61.67 kB / 0.9571 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.7754, allocations: 89.67 kB / 0.9571 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.7758, allocations: 0.5057 MB / 0.9576 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7758, allocations: 0 / 0.9576 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7758, allocations: 0 / 0.9576 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.7758, allocations: 0 / 0.9576 GB, free: 4.934 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001139/0.7769, allocations: 0.7083 MB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.777, allocations: 9.969 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.874e-05/0.7771, allocations: 84.11 kB / 0.9584 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.7772, allocations: 53.95 kB / 0.9585 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.7783, allocations: 0.5207 MB / 0.959 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.7784, allocations: 37.62 kB / 0.959 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/0.7784, allocations: 40.88 kB / 0.959 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.7795, allocations: 0.5112 MB / 0.9595 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.7795, allocations: 1.594 kB / 0.9596 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.7795, allocations: 23 kB / 0.9596 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.7796, allocations: 15.03 kB / 0.9596 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.7808, allocations: 477.6 kB / 0.96 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.7824, allocations: 1.224 MB / 0.9612 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009367/0.7833, allocations: 428.9 kB / 0.9616 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.7833, allocations: 12.06 kB / 0.9617 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.7834, allocations: 37.78 kB / 0.9617 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.814e-06/0.7834, allocations: 0 / 0.9617 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001832/0.7852, allocations: 0.6449 MB / 0.9623 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.7853, allocations: 111.4 kB / 0.9624 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.7855, allocations: 271.6 kB / 0.9627 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.7855, allocations: 35.14 kB / 0.9627 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.7856, allocations: 219.2 kB / 0.9629 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/0.7857, allocations: 113.7 kB / 0.963 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.7857, allocations: 13.25 kB / 0.9631 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.7858, allocations: 342.1 kB / 0.9634 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.7863, allocations: 187.9 kB / 0.9636 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.7869, allocations: 272.2 kB / 0.9638 GB, free: 412 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.7874, allocations: 183 kB / 0.964 GB, free: 336 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7874, allocations: 1.281 kB / 0.964 GB, free: 336 kB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001223/0.7887, allocations: 0.5066 MB / 0.9645 GB, free: 88 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.7887, allocations: 7.906 kB / 0.9645 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.7887, allocations: 3 kB / 0.9645 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.7887, allocations: 4.031 kB / 0.9645 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.7893, allocations: 110.6 kB / 0.9646 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.7893, allocations: 7.906 kB / 0.9646 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.7896, allocations: 76.17 kB / 0.9647 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.7897, allocations: 19.58 kB / 0.9647 GB, free: 4 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 23 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0002907/0.79, allocations: 171.4 kB / 0.9649 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.7901, allocations: 39.11 kB / 0.9649 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.7902, allocations: 41.05 kB / 0.9649 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.7902, allocations: 8.875 kB / 0.965 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.7902, allocations: 1.312 kB / 0.965 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.7902, allocations: 3.984 kB / 0.965 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.7908, allocations: 449 kB / 0.9654 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7909, allocations: 1.156 kB / 0.9654 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.7913, allocations: 98.42 kB / 0.9655 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.7913, allocations: 2.625 kB / 0.9655 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.7913, allocations: 9.859 kB / 0.9655 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.7913, allocations: 2.281 kB / 0.9655 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7914, allocations: 4.969 kB / 0.9655 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.7927, allocations: 0.7318 MB / 0.9662 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.011e-05/0.7929, allocations: 118.8 kB / 0.9663 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.7929, allocations: 5.812 kB / 0.9663 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.7933, allocations: 55.86 kB / 0.9664 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.7935, allocations: 60.42 kB / 0.9664 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.7935, allocations: 12.05 kB / 0.9665 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001777/0.7937, allocations: 174.2 kB / 0.9666 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7937, allocations: 4 kB / 0.9666 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004864/0.7942, allocations: 89.84 kB / 0.9667 GB, free: 14.5 MB / 0.7325 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.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked 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.001753/0.7959, allocations: 1.433 MB / 0.9681 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.7973, allocations: 455.7 kB / 0.9685 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7973, allocations: 1.406 kB / 0.9685 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.798, allocations: 253.5 kB / 0.9688 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.7984, allocations: 43.61 kB / 0.9688 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/0.8034, allocations: 3.655 MB / 0.9724 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.8039, allocations: 0.8216 MB / 0.9732 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002826/0.8042, allocations: 55.48 kB / 0.9733 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.8045, allocations: 146.6 kB / 0.9734 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/0.8045, allocations: 0 / 0.9734 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.8229, allocations: 6.551 MB / 0.9798 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.8231, allocations: 245.5 kB / 0.98 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.654, allocations: 0 / 0.98 GB, free: 4.781 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat