Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_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.000932/0.0009319, allocations: 99.16 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.001417/0.001417, 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.404/1.404, allocations: 223.2 MB / 239.9 MB, free: 5.379 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.546/2.546, allocations: 390.3 MB / 0.6653 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003195, allocations: 8 kB / 0.8147 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7277, 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.Reheat.Subsequences.Validation.Overrides): time 0.001376/0.7291, allocations: 0.7882 MB / 0.9544 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.7312, allocations: 1.197 MB / 0.9556 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.7314, allocations: 2.969 kB / 0.9556 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.438e-05/0.7315, allocations: 11.86 kB / 0.9556 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.7316, allocations: 24.02 kB / 0.9556 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.7322, allocations: 156.9 kB / 0.9558 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.7325, allocations: 146.9 kB / 0.9559 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.7327, allocations: 78 kB / 0.956 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.7329, allocations: 79.56 kB / 0.9561 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.733, allocations: 83.72 kB / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.7331, allocations: 8.812 kB / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-05/0.7332, allocations: 23.3 kB / 0.9562 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.7332, allocations: 30.09 kB / 0.9562 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.7333, allocations: 53.83 kB / 0.9562 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.7335, allocations: 238.1 kB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7336, allocations: 0 / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7336, allocations: 0 / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.7336, allocations: 1.031 kB / 0.9565 GB, free: 5.895 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009392/0.7345, allocations: 0.517 MB / 0.957 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.7346, allocations: 9.281 kB / 0.957 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.138e-05/0.7347, allocations: 52.2 kB / 0.957 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.828e-05/0.7348, allocations: 32.72 kB / 0.9571 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007788/0.7355, allocations: 317.6 kB / 0.9574 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.7356, allocations: 21.72 kB / 0.9574 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.7357, allocations: 19.06 kB / 0.9574 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.7362, allocations: 214.6 kB / 0.9576 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.7362, allocations: 0 / 0.9576 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.7362, allocations: 10.34 kB / 0.9576 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.7362, allocations: 12.72 kB / 0.9576 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.7368, allocations: 173 kB / 0.9578 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009463/0.7377, allocations: 0.6436 MB / 0.9584 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.7381, allocations: 167.4 kB / 0.9586 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.7382, allocations: 1.812 kB / 0.9586 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004299/0.7386, allocations: 162.1 kB / 0.9588 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.7386, allocations: 0 / 0.9588 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0008695/0.7395, allocations: 277.5 kB / 0.959 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.7396, allocations: 79.86 kB / 0.9591 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.7397, allocations: 170 kB / 0.9593 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.7398, allocations: 32.45 kB / 0.9593 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.7398, allocations: 135.3 kB / 0.9594 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.7399, allocations: 44.86 kB / 0.9595 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.7399, allocations: 6.75 kB / 0.9595 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.74, allocations: 330.8 kB / 0.9598 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.7403, allocations: 89.75 kB / 0.9599 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.7406, allocations: 129.6 kB / 0.96 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.7409, allocations: 121 kB / 0.9601 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7409, allocations: 0 / 0.9601 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006973/0.7416, allocations: 305.2 kB / 0.9604 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.7416, allocations: 34.08 kB / 0.9604 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7416, allocations: 1.188 kB / 0.9604 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.7417, allocations: 6.828 kB / 0.9604 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.7419, allocations: 40.38 kB / 0.9605 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.7419, allocations: 2.281 kB / 0.9605 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.7422, allocations: 65.42 kB / 0.9605 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.7423, allocations: 12.31 kB / 0.9605 GB, free: 2.625 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: 10 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.conInt4.y,ove.conInt3.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): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0001203/0.7424, allocations: 142.4 kB / 0.9607 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.7424, allocations: 19.19 kB / 0.9607 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.7425, allocations: 20.38 kB / 0.9607 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.7425, allocations: 6.719 kB / 0.9607 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.7425, allocations: 1.031 kB / 0.9607 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7425, allocations: 0 / 0.9607 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.7427, allocations: 274.2 kB / 0.961 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.7427, allocations: 3.953 kB / 0.961 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.7429, allocations: 34.09 kB / 0.961 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7429, allocations: 5.375 kB / 0.961 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.7429, allocations: 5.312 kB / 0.961 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.743, allocations: 5.359 kB / 0.961 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.743, allocations: 5.312 kB / 0.961 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.7435, allocations: 246.2 kB / 0.9613 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.7436, allocations: 90.17 kB / 0.9614 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.7436, allocations: 9.078 kB / 0.9614 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.7437, allocations: 19.83 kB / 0.9614 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.7438, allocations: 24.81 kB / 0.9614 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.7438, allocations: 4.156 kB / 0.9614 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.858e-05/0.7439, allocations: 122.9 kB / 0.9615 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7439, allocations: 0 / 0.9615 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002744/0.7442, allocations: 46.62 kB / 0.9616 GB, free: 1.75 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000778/0.745, allocations: 0.8767 MB / 0.9624 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006261/0.7456, allocations: 275.2 kB / 0.9627 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7456, allocations: 0 / 0.9627 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.7459, allocations: 99.47 kB / 0.9628 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.7461, allocations: 32.81 kB / 0.9628 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.7472, allocations: 1.376 MB / 0.9642 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.7475, allocations: 0.739 MB / 0.9649 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000134/0.7477, allocations: 28.52 kB / 0.9649 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.7478, allocations: 57.89 kB / 0.965 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7478, allocations: 0 / 0.965 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.7634, allocations: 3.846 MB / 0.9687 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.7637, allocations: 233.2 kB / 0.969 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.544, allocations: 0 / 0.969 GB, free: 12.63 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat