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.001405/0.001405, allocations: 91.3 kB / 15.06 MB, free: 1.094 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.001692/0.001692, allocations: 172.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.359/1.359, allocations: 223.2 MB / 240 MB, free: 5.457 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.46/2.46, allocations: 390.4 MB / 0.6655 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7107, allocations: 142.3 MB / 0.9539 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.001606/0.7124, allocations: 1.305 MB / 0.9552 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.7136, allocations: 1.115 MB / 0.9563 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.7137, allocations: 9.938 kB / 0.9563 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.612e-05/0.7138, allocations: 29.03 kB / 0.9563 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.7139, allocations: 31.66 kB / 0.9563 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.7142, allocations: 125.8 kB / 0.9565 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.7146, allocations: 441.8 kB / 0.9569 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.7149, allocations: 218.7 kB / 0.9571 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.7151, allocations: 124.1 kB / 0.9572 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.7152, allocations: 165.6 kB / 0.9574 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.7153, allocations: 13.78 kB / 0.9574 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-05/0.7153, allocations: 15.19 kB / 0.9574 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.7154, allocations: 68.41 kB / 0.9575 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.7154, allocations: 94.27 kB / 0.9575 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.7157, allocations: 0.5054 MB / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7158, allocations: 3.938 kB / 0.958 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7158, allocations: 0 / 0.958 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.7158, allocations: 1.406 kB / 0.958 GB, free: 4.906 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.001023/0.7168, allocations: 0.7074 MB / 0.9587 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.7169, allocations: 9.438 kB / 0.9587 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.397e-05/0.7169, allocations: 84.83 kB / 0.9588 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.717, allocations: 57.67 kB / 0.9589 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.7181, allocations: 0.5119 MB / 0.9594 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.7181, allocations: 39 kB / 0.9594 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.7182, allocations: 44.88 kB / 0.9595 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009906/0.7192, allocations: 0.5111 MB / 0.96 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.7192, allocations: 0 / 0.96 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.7192, allocations: 23.69 kB / 0.96 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.7192, allocations: 12.12 kB / 0.96 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.7205, allocations: 477.1 kB / 0.9604 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.722, allocations: 1.224 MB / 0.9616 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008494/0.7229, allocations: 427.4 kB / 0.962 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.7234, allocations: 251.1 kB / 0.9623 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.7235, allocations: 8.5 kB / 0.9623 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.7235, allocations: 32.69 kB / 0.9623 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.7235, allocations: 1.094 kB / 0.9623 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001696/0.7252, allocations: 0.6329 MB / 0.9629 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.7252, allocations: 111.9 kB / 0.9631 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.7255, allocations: 280 kB / 0.9633 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.7255, allocations: 35.05 kB / 0.9634 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.7256, allocations: 218.8 kB / 0.9636 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/0.7257, allocations: 113.5 kB / 0.9637 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.7257, allocations: 9.438 kB / 0.9637 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.7258, allocations: 342.5 kB / 0.964 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.7263, allocations: 188 kB / 0.9642 GB, free: 460 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/0.7268, allocations: 273.5 kB / 0.9644 GB, free: 276 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.7273, allocations: 190.9 kB / 0.9646 GB, free: 192 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7273, allocations: 0.6875 kB / 0.9646 GB, free: 192 kB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001224/0.7286, allocations: 0.5005 MB / 0.9651 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.7286, allocations: 6.062 kB / 0.9651 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.7286, allocations: 2.656 kB / 0.9651 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.7286, allocations: 8.625 kB / 0.9651 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.7291, allocations: 117.4 kB / 0.9652 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.7292, allocations: 4.938 kB / 0.9652 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.7295, allocations: 75.92 kB / 0.9653 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.7295, allocations: 16.12 kB / 0.9653 GB, free: 15.87 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.0002443/0.7298, allocations: 178 kB / 0.9655 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/0.7299, allocations: 34.98 kB / 0.9655 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.097e-05/0.73, allocations: 45.61 kB / 0.9656 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.73, allocations: 4.406 kB / 0.9656 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.73, allocations: 1.5 kB / 0.9656 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.73, allocations: 1.031 kB / 0.9656 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.7306, allocations: 448.3 kB / 0.966 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7306, allocations: 5.406 kB / 0.966 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.731, allocations: 98.42 kB / 0.9661 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.7311, allocations: 5.828 kB / 0.9661 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.7311, allocations: 10.98 kB / 0.9661 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.7311, allocations: 5.969 kB / 0.9661 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.7311, allocations: 1.031 kB / 0.9661 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.7323, allocations: 0.7076 MB / 0.9668 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.7324, allocations: 111.2 kB / 0.9669 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.7325, allocations: 14.95 kB / 0.967 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.7328, allocations: 54.5 kB / 0.967 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.733, allocations: 56.89 kB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.733, allocations: 12.78 kB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001815/0.7332, allocations: 173.2 kB / 0.9672 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7332, allocations: 1.125 kB / 0.9672 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004688/0.7337, allocations: 93.41 kB / 0.9673 GB, free: 14.39 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.001503/0.7352, allocations: 1.262 MB / 0.9686 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.7364, allocations: 458.3 kB / 0.969 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7364, allocations: 0 / 0.969 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006706/0.7371, allocations: 262.5 kB / 0.9692 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.7377, allocations: 59.2 kB / 0.9693 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.7419, allocations: 2.146 MB / 0.9714 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.7425, allocations: 0.816 MB / 0.9722 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002835/0.7428, allocations: 55.86 kB / 0.9722 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.743, allocations: 150.6 kB / 0.9724 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.743, allocations: 0 / 0.9724 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.7716, allocations: 6.571 MB / 0.9788 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/0.7719, allocations: 247.2 kB / 0.979 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.653, allocations: 0 / 0.979 GB, free: 6.055 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