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.0008566/0.0008566, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009162/0.0009163, allocations: 168.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.549/1.549, allocations: 223.2 MB / 240 MB, free: 5.305 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.534/2.534, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004221, allocations: 23.94 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8169/0.8174, allocations: 142.3 MB / 0.9539 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.001318/0.8187, allocations: 0.7862 MB / 0.9547 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.8201, allocations: 1.198 MB / 0.9559 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.986e-05/0.8202, allocations: 2.5 kB / 0.9559 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.8202, allocations: 11.86 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.602e-05/0.8203, allocations: 26.12 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.8208, allocations: 146.4 kB / 0.956 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.821, allocations: 232 kB / 0.9562 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.8212, allocations: 80.75 kB / 0.9563 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.8213, allocations: 81.84 kB / 0.9564 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.8214, allocations: 81.94 kB / 0.9565 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.8214, allocations: 13.88 kB / 0.9565 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.599e-05/0.8215, allocations: 23.64 kB / 0.9565 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.8216, allocations: 31.03 kB / 0.9565 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.8216, allocations: 53.58 kB / 0.9566 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.8218, allocations: 233.4 kB / 0.9568 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.8218, allocations: 0 / 0.9568 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8218, allocations: 1.062 kB / 0.9568 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8218, allocations: 0 / 0.9568 GB, free: 5.855 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.0007454/0.8226, allocations: 0.5172 MB / 0.9573 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.8226, allocations: 9.25 kB / 0.9573 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.8227, allocations: 56.22 kB / 0.9574 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.8228, allocations: 33.42 kB / 0.9574 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006418/0.8234, allocations: 320.4 kB / 0.9577 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.8235, allocations: 10.25 kB / 0.9577 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.8235, allocations: 30.77 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.824, allocations: 213.2 kB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.824, allocations: 0 / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.824, allocations: 6.812 kB / 0.958 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.824, allocations: 12.02 kB / 0.958 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.8245, allocations: 181 kB / 0.9582 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.8252, allocations: 0.6396 MB / 0.9588 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.8256, allocations: 162.7 kB / 0.9589 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.8258, allocations: 95.72 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.8258, allocations: 1.375 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003608/0.8262, allocations: 158.6 kB / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.8262, allocations: 0 / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0007611/0.827, allocations: 280.5 kB / 0.9595 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.827, allocations: 79.86 kB / 0.9595 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.8272, allocations: 170 kB / 0.9597 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.8272, allocations: 32.45 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.8273, allocations: 135.3 kB / 0.9599 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.8273, allocations: 42.23 kB / 0.9599 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.8273, allocations: 5.375 kB / 0.9599 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.8274, allocations: 330.9 kB / 0.9602 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.8276, allocations: 90.12 kB / 0.9603 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.8279, allocations: 134.9 kB / 0.9604 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.8282, allocations: 119.9 kB / 0.9605 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8282, allocations: 4.938 kB / 0.9605 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006813/0.8289, allocations: 313.4 kB / 0.9608 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.8289, allocations: 36.86 kB / 0.9609 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.829, allocations: 2.156 kB / 0.9609 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.829, allocations: 6.625 kB / 0.9609 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.8292, allocations: 40.62 kB / 0.9609 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8292, allocations: 2.25 kB / 0.9609 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.8295, allocations: 69.75 kB / 0.961 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.8295, allocations: 7.562 kB / 0.961 GB, free: 2.516 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.00011/0.8296, allocations: 142.5 kB / 0.9611 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.8296, allocations: 19.31 kB / 0.9612 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.8297, allocations: 20.89 kB / 0.9612 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.8297, allocations: 1.969 kB / 0.9612 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8297, allocations: 1.125 kB / 0.9612 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.8297, allocations: 0 / 0.9612 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.8299, allocations: 273.6 kB / 0.9614 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.8299, allocations: 1 kB / 0.9614 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.8301, allocations: 37.12 kB / 0.9615 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8301, allocations: 6.188 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.8301, allocations: 0.9375 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.8302, allocations: 2.062 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8302, allocations: 0 / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.8307, allocations: 241.7 kB / 0.9617 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.8307, allocations: 93.06 kB / 0.9618 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.8307, allocations: 5.719 kB / 0.9618 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.8308, allocations: 24.16 kB / 0.9618 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.8309, allocations: 23.94 kB / 0.9619 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.8309, allocations: 5.156 kB / 0.9619 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.831, allocations: 122.1 kB / 0.962 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.831, allocations: 0 / 0.962 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002676/0.8313, allocations: 46.5 kB / 0.962 GB, free: 1.664 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.000714/0.832, allocations: 0.7906 MB / 0.9628 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005768/0.8326, allocations: 270.8 kB / 0.9631 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8326, allocations: 0 / 0.9631 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.8329, allocations: 107.6 kB / 0.9632 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.0002616/0.8331, allocations: 24.45 kB / 0.9632 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.835, allocations: 1.118 MB / 0.9643 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.8353, allocations: 0.7261 MB / 0.965 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.8354, allocations: 28.34 kB / 0.965 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.8355, allocations: 62.22 kB / 0.9651 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.8355, allocations: 0 / 0.9651 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.8509, allocations: 3.912 MB / 0.9689 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.8511, allocations: 235.6 kB / 0.9691 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.622, allocations: 0 / 0.9691 GB, free: 13.15 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