Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",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.001056/0.001056, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001584/0.001584, allocations: 172.7 kB / 15.95 MB, free: 208 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.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.32 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.374/2.374, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6237/0.624, allocations: 142.3 MB / 0.9539 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.001424/0.6255, allocations: 1.358 MB / 0.9552 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1405/0.766, allocations: 133.7 MB / 1.086 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.7661, allocations: 0 / 1.086 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.7662, allocations: 0 / 1.086 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.534e-05/0.7663, allocations: 15.84 kB / 1.086 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.767, allocations: 167.4 kB / 1.086 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.7671, allocations: 79.7 kB / 1.086 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.7673, allocations: 23.95 kB / 1.086 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.7673, allocations: 35.84 kB / 1.086 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.345e-05/0.7674, allocations: 39.78 kB / 1.086 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.7674, allocations: 7.938 kB / 1.086 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.7679, allocations: 135.7 kB / 1.086 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.7679, allocations: 19.91 kB / 1.086 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.7679, allocations: 37.64 kB / 1.086 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.7682, allocations: 122 kB / 1.086 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7682, allocations: 0 / 1.086 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7682, allocations: 0 / 1.086 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7682, allocations: 0 / 1.086 GB, free: 7.949 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006102/0.7688, allocations: 423 kB / 1.087 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.7689, allocations: 12.03 kB / 1.087 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.7689, allocations: 38.55 kB / 1.087 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.77, allocations: 155.7 kB / 1.087 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.7701, allocations: 175 kB / 1.087 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.7702, allocations: 33.7 kB / 1.087 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.7703, allocations: 12 kB / 1.087 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.7708, allocations: 177.4 kB / 1.087 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.7708, allocations: 4 kB / 1.087 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.7708, allocations: 4 kB / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.7708, allocations: 0 / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007264/0.7716, allocations: 215.8 kB / 1.088 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007718/0.7723, allocations: 430.3 kB / 1.088 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.7728, allocations: 142.5 kB / 1.088 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.7732, allocations: 108.9 kB / 1.088 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.7732, allocations: 4 kB / 1.088 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.7732, allocations: 34.56 kB / 1.088 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.7732, allocations: 0 / 1.088 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.00125/0.7745, allocations: 341.3 kB / 1.089 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.7745, allocations: 59.39 kB / 1.089 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.7747, allocations: 143.4 kB / 1.089 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.7747, allocations: 29.7 kB / 1.089 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.7748, allocations: 96.12 kB / 1.089 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.7748, allocations: 11.81 kB / 1.089 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.7748, allocations: 4 kB / 1.089 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7749, allocations: 322.8 kB / 1.089 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.7753, allocations: 99.92 kB / 1.089 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.7756, allocations: 95.92 kB / 1.089 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.776, allocations: 91.92 kB / 1.09 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.776, allocations: 0 / 1.09 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007343/0.7767, allocations: 241.4 kB / 1.09 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.7767, allocations: 4 kB / 1.09 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7767, allocations: 7.938 kB / 1.09 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.7768, allocations: 0 / 1.09 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.777, allocations: 48.39 kB / 1.09 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7771, allocations: 3.953 kB / 1.09 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.7773, allocations: 43.8 kB / 1.09 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.7773, allocations: 8 kB / 1.09 GB, free: 4.168 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.879e-05/0.7774, allocations: 113.8 kB / 1.09 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.7774, allocations: 7.906 kB / 1.09 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.7775, allocations: 16.7 kB / 1.09 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7775, allocations: 0 / 1.09 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.7775, allocations: 0 / 1.09 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.7775, allocations: 3.953 kB / 1.09 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.7777, allocations: 225.4 kB / 1.09 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.7777, allocations: 0 / 1.09 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.778, allocations: 47.89 kB / 1.09 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.778, allocations: 0 / 1.09 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.778, allocations: 4 kB / 1.09 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.778, allocations: 3.984 kB / 1.09 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.778, allocations: 0 / 1.09 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007744/0.7788, allocations: 339.2 kB / 1.091 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.7789, allocations: 81.02 kB / 1.091 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.7789, allocations: 4 kB / 1.091 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.7791, allocations: 35.95 kB / 1.091 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.7792, allocations: 8 kB / 1.091 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.7792, allocations: 7.984 kB / 1.091 GB, free: 3.195 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.236e-05/0.7793, allocations: 109.1 kB / 1.091 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7793, allocations: 0 / 1.091 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002432/0.7795, allocations: 20 kB / 1.091 GB, free: 3.07 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001078/0.7806, allocations: 0.8724 MB / 1.092 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007227/0.7813, allocations: 211.8 kB / 1.092 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7814, allocations: 0 / 1.092 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.7817, allocations: 111.9 kB / 1.092 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.782, allocations: 20.69 kB / 1.092 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.7845, allocations: 0.9743 MB / 1.093 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.7848, allocations: 0.6965 MB / 1.094 GB, free: 100 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.7849, allocations: 19.92 kB / 1.094 GB, free: 80 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.785, allocations: 23.44 kB / 1.094 GB, free: 56 kB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.785, allocations: 0 / 1.094 GB, free: 56 kB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.7976, allocations: 2.509 MB / 1.096 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.7978, allocations: 214.9 kB / 1.096 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.514, allocations: 0 / 1.096 GB, free: 13.5 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat does not exist to compare? outputFormat=mat