Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.00118/0.00118, allocations: 99.47 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.00142/0.001421, allocations: 177.3 kB / 15.94 MB, free: 228 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.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.316/2.316, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003198, allocations: 12 kB / 0.8147 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7621/0.7624, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides): time 0.001627/0.7641, allocations: 1.319 MB / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.7653, allocations: 1.117 MB / 0.956 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.7655, allocations: 7.062 kB / 0.956 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.952e-05/0.7656, allocations: 27.66 kB / 0.9561 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.7658, allocations: 48.27 kB / 0.9561 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.7661, allocations: 125.1 kB / 0.9562 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.7664, allocations: 270.6 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.7668, allocations: 222.4 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.7669, allocations: 127.5 kB / 0.9568 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.7671, allocations: 160.9 kB / 0.957 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.7672, allocations: 14.44 kB / 0.957 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.011e-05/0.7672, allocations: 14.44 kB / 0.957 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/0.7673, allocations: 65.19 kB / 0.9571 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.7673, allocations: 89.7 kB / 0.9571 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.7677, allocations: 0.5127 MB / 0.9576 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7677, allocations: 3.938 kB / 0.9576 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7677, allocations: 0 / 0.9576 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.7677, allocations: 0 / 0.9576 GB, free: 4.91 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.001179/0.7689, allocations: 0.7015 MB / 0.9583 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.769, allocations: 12.72 kB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.026e-05/0.7691, allocations: 85.67 kB / 0.9584 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.7692, allocations: 52.86 kB / 0.9585 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.7702, allocations: 0.5131 MB / 0.959 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/0.7703, allocations: 37.62 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.7704, allocations: 44.88 kB / 0.9591 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009776/0.7713, allocations: 0.5131 MB / 0.9596 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.7714, allocations: 3.984 kB / 0.9596 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.7714, allocations: 15.62 kB / 0.9596 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.7714, allocations: 11.34 kB / 0.9596 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.7727, allocations: 481.1 kB / 0.96 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.7743, allocations: 1.228 MB / 0.9612 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.7752, allocations: 423.2 kB / 0.9616 GB, free: 2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.7753, allocations: 4.281 kB / 0.9616 GB, free: 2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.7753, allocations: 41.62 kB / 0.9617 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 2.855e-06/0.7753, allocations: 3.984 kB / 0.9617 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001791/0.7771, allocations: 0.6379 MB / 0.9623 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.7771, allocations: 111.2 kB / 0.9624 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.7774, allocations: 282.3 kB / 0.9627 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.7774, allocations: 29.7 kB / 0.9627 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.7775, allocations: 223.3 kB / 0.9629 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.7776, allocations: 113.6 kB / 0.963 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.7776, allocations: 5.125 kB / 0.963 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.7777, allocations: 345.6 kB / 0.9634 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/0.7782, allocations: 184.2 kB / 0.9636 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.7788, allocations: 276.3 kB / 0.9638 GB, free: 400 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.7794, allocations: 186.5 kB / 0.964 GB, free: 320 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7794, allocations: 1.281 kB / 0.964 GB, free: 320 kB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001205/0.7806, allocations: 0.5073 MB / 0.9645 GB, free: 72 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.7806, allocations: 6.406 kB / 0.9645 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.7806, allocations: 1.812 kB / 0.9645 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7806, allocations: 9.094 kB / 0.9645 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.7811, allocations: 106 kB / 0.9646 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.7811, allocations: 9.312 kB / 0.9646 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.7815, allocations: 80 kB / 0.9647 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.7815, allocations: 14.78 kB / 0.9647 GB, free: 15.98 MB / 0.7325 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.0002354/0.7818, allocations: 179.9 kB / 0.9649 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/0.7819, allocations: 38.11 kB / 0.9649 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.756e-05/0.7819, allocations: 41.67 kB / 0.965 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.782, allocations: 4.906 kB / 0.965 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.782, allocations: 0.8125 kB / 0.965 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.782, allocations: 0.875 kB / 0.965 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/0.7826, allocations: 449 kB / 0.9654 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7826, allocations: 1.438 kB / 0.9654 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.7831, allocations: 97.95 kB / 0.9655 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.7831, allocations: 1.875 kB / 0.9655 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.7831, allocations: 14.25 kB / 0.9655 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.7831, allocations: 2.625 kB / 0.9655 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7831, allocations: 5.25 kB / 0.9655 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.7844, allocations: 0.7304 MB / 0.9662 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.7845, allocations: 110.9 kB / 0.9663 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.7846, allocations: 11 kB / 0.9663 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.7849, allocations: 54.53 kB / 0.9664 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.7851, allocations: 56.86 kB / 0.9664 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.7851, allocations: 16.53 kB / 0.9665 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001562/0.7853, allocations: 173.9 kB / 0.9666 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7853, allocations: 0 / 0.9666 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004516/0.7857, allocations: 90.66 kB / 0.9667 GB, free: 14.49 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.001665/0.7874, allocations: 1.431 MB / 0.9681 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.7887, allocations: 452.9 kB / 0.9685 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7887, allocations: 5.344 kB / 0.9685 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006605/0.7893, allocations: 258.5 kB / 0.9688 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.7898, allocations: 43.7 kB / 0.9688 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.7946, allocations: 3.66 MB / 0.9724 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.795, allocations: 0.8223 MB / 0.9732 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002718/0.7953, allocations: 51.33 kB / 0.9733 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.7955, allocations: 146.2 kB / 0.9734 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.7956, allocations: 4 kB / 0.9734 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.8144, allocations: 6.544 MB / 0.9798 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/0.8148, allocations: 241.5 kB / 0.98 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.649, allocations: 2.109 kB / 0.98 GB, free: 4.789 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat