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.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.001014/0.001014, allocations: 99.86 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.0009984/0.0009985, 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.335/1.335, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.282/2.282, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 15.98 kB / 0.8147 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6994/0.6997, 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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.001747/0.7015, allocations: 1.315 MB / 0.9549 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.7028, allocations: 1.12 MB / 0.956 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.7029, allocations: 6.469 kB / 0.956 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.185e-05/0.703, allocations: 32.7 kB / 0.9561 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.7032, allocations: 47.33 kB / 0.9561 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.7035, allocations: 117.8 kB / 0.9562 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.7038, allocations: 273.9 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.7042, allocations: 218.8 kB / 0.9567 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.7043, allocations: 120.3 kB / 0.9568 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.7045, allocations: 171.8 kB / 0.957 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.7046, allocations: 14.94 kB / 0.957 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.836e-05/0.7046, allocations: 13.84 kB / 0.957 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.7047, allocations: 65.23 kB / 0.9571 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.7048, allocations: 90.64 kB / 0.9571 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.7051, allocations: 0.5105 MB / 0.9576 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.7051, allocations: 0 / 0.9576 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7052, allocations: 0 / 0.9576 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.7052, allocations: 0 / 0.9576 GB, free: 4.914 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.001104/0.7063, allocations: 0.7105 MB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.7063, allocations: 10.5 kB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.606e-05/0.7064, allocations: 80.31 kB / 0.9584 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/0.7065, allocations: 54.27 kB / 0.9585 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.7076, allocations: 0.524 MB / 0.959 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.7076, allocations: 37.62 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.7077, allocations: 40.88 kB / 0.9591 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/0.7087, allocations: 0.5112 MB / 0.9596 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.7087, allocations: 1.281 kB / 0.9596 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.7087, allocations: 19.62 kB / 0.9596 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.7088, allocations: 14.94 kB / 0.9596 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.71, allocations: 473.7 kB / 0.96 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.7115, allocations: 1.228 MB / 0.9612 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008582/0.7124, allocations: 418.7 kB / 0.9616 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.7124, allocations: 12.89 kB / 0.9617 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.7124, allocations: 41.03 kB / 0.9617 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.523e-06/0.7124, allocations: 0 / 0.9617 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.0018/0.7142, allocations: 0.6454 MB / 0.9623 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.7143, allocations: 108.1 kB / 0.9624 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.7145, allocations: 275.8 kB / 0.9627 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.7146, allocations: 32.39 kB / 0.9627 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.7147, allocations: 222.6 kB / 0.9629 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.709e-05/0.7147, allocations: 109.2 kB / 0.963 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.7148, allocations: 10.25 kB / 0.963 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.7148, allocations: 341.8 kB / 0.9634 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.7154, allocations: 183.2 kB / 0.9635 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.716, allocations: 273.1 kB / 0.9638 GB, free: 408 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005203/0.7165, allocations: 184.3 kB / 0.964 GB, free: 332 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7165, allocations: 0 / 0.964 GB, free: 332 kB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001235/0.7178, allocations: 0.5108 MB / 0.9645 GB, free: 80 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.7178, allocations: 5.875 kB / 0.9645 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.7178, allocations: 3.375 kB / 0.9645 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.7178, allocations: 4.562 kB / 0.9645 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.7183, allocations: 114 kB / 0.9646 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.7183, allocations: 16.52 kB / 0.9646 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.7187, allocations: 71.39 kB / 0.9647 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.7187, allocations: 20 kB / 0.9647 GB, free: 15.99 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.0002605/0.719, allocations: 171.1 kB / 0.9649 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.7191, allocations: 38.83 kB / 0.9649 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.681e-05/0.7192, allocations: 41.36 kB / 0.9649 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.7192, allocations: 4.469 kB / 0.9649 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.7192, allocations: 5.094 kB / 0.965 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7192, allocations: 5.172 kB / 0.965 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006778/0.7199, allocations: 449.2 kB / 0.9654 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7199, allocations: 0 / 0.9654 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.7204, allocations: 94.58 kB / 0.9655 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.7204, allocations: 6.188 kB / 0.9655 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.7204, allocations: 11.23 kB / 0.9655 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.7204, allocations: 2 kB / 0.9655 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.7204, allocations: 4.984 kB / 0.9655 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.7218, allocations: 0.7315 MB / 0.9662 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.7219, allocations: 114.7 kB / 0.9663 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.7219, allocations: 6.188 kB / 0.9663 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.7223, allocations: 51.05 kB / 0.9664 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.7225, allocations: 64.55 kB / 0.9664 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.7225, allocations: 12.19 kB / 0.9665 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001753/0.7227, allocations: 178.5 kB / 0.9666 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7227, allocations: 0 / 0.9666 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004668/0.7231, allocations: 90.09 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.001821/0.725, allocations: 1.428 MB / 0.9681 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.7263, allocations: 460.8 kB / 0.9685 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7264, allocations: 0 / 0.9685 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006723/0.727, allocations: 255.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.0004003/0.7274, allocations: 48.33 kB / 0.9688 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/0.7326, allocations: 3.661 MB / 0.9724 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.7331, allocations: 0.8175 MB / 0.9732 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.7334, allocations: 55.55 kB / 0.9733 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.7336, allocations: 150.7 kB / 0.9734 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.7336, allocations: 0 / 0.9734 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.7539, allocations: 6.543 MB / 0.9798 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.7542, allocations: 246.1 kB / 0.98 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.452, allocations: 6.125 kB / 0.98 GB, free: 4.73 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat