Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.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.Condensation,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",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.0009399/0.00094, allocations: 91.84 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.001126/0.001126, 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.382/1.382, allocations: 223.3 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.357/2.357, allocations: 390.4 MB / 0.6655 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/0.7498, allocations: 142.3 MB / 0.9539 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.001343/0.7512, allocations: 1.227 MB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001827/0.7514, allocations: 140.7 kB / 0.9552 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.7514, allocations: 5.156 kB / 0.9552 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.7514, allocations: 0 / 0.9552 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/0.7515, allocations: 9.109 kB / 0.9552 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.427e-05/0.7516, allocations: 10.52 kB / 0.9552 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.192e-05/0.7516, allocations: 39.27 kB / 0.9553 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.7517, allocations: 11.48 kB / 0.9553 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.46e-05/0.7518, allocations: 18.42 kB / 0.9553 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.7519, allocations: 21.89 kB / 0.9553 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.7519, allocations: 2.562 kB / 0.9553 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.7519, allocations: 1.188 kB / 0.9553 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.7519, allocations: 9.5 kB / 0.9553 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.7519, allocations: 27.89 kB / 0.9553 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.548e-05/0.752, allocations: 29.41 kB / 0.9554 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.752, allocations: 3.984 kB / 0.9554 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.502e-06/0.752, allocations: 3.938 kB / 0.9554 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.752, allocations: 0 / 0.9554 GB, free: 6.824 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003842/0.7524, allocations: 372.2 kB / 0.9557 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.7525, allocations: 9.188 kB / 0.9557 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.353e-05/0.7525, allocations: 30.56 kB / 0.9558 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.997e-05/0.7525, allocations: 6.406 kB / 0.9558 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.831e-05/0.7526, allocations: 169.4 kB / 0.9559 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.7526, allocations: 5.938 kB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.7526, allocations: 9.281 kB / 0.956 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.7528, allocations: 80.06 kB / 0.956 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.7528, allocations: 1.5 kB / 0.956 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.7529, allocations: 3.953 kB / 0.956 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.7529, allocations: 0 / 0.956 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.7531, allocations: 86.73 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.7534, allocations: 272.1 kB / 0.9564 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.7536, allocations: 69.77 kB / 0.9564 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.7537, allocations: 50.52 kB / 0.9565 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.7538, allocations: 5.109 kB / 0.9565 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.073e-05/0.7538, allocations: 30.56 kB / 0.9565 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.7538, allocations: 5.312 kB / 0.9565 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004696/0.7543, allocations: 162.4 kB / 0.9567 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.7543, allocations: 56.19 kB / 0.9567 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.461e-05/0.7544, allocations: 111.1 kB / 0.9568 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.7544, allocations: 25.7 kB / 0.9569 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.553e-05/0.7544, allocations: 90.33 kB / 0.957 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.7544, allocations: 9.531 kB / 0.957 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/0.7544, allocations: 0 / 0.957 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.504e-05/0.7545, allocations: 319.8 kB / 0.9573 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.7546, allocations: 50.88 kB / 0.9573 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.7548, allocations: 39.88 kB / 0.9574 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.7549, allocations: 46.08 kB / 0.9574 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7549, allocations: 1.062 kB / 0.9574 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000279/0.7552, allocations: 116 kB / 0.9575 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7552, allocations: 9.578 kB / 0.9575 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7552, allocations: 0 / 0.9575 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.7552, allocations: 1.219 kB / 0.9575 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.7554, allocations: 22.8 kB / 0.9575 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7554, allocations: 3.984 kB / 0.9576 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.495e-05/0.7554, allocations: 19.92 kB / 0.9576 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.7555, allocations: 1.125 kB / 0.9576 GB, free: 4.832 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.942e-05/0.7555, allocations: 112 kB / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.7555, allocations: 6 kB / 0.9577 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.7556, allocations: 12.89 kB / 0.9577 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.7556, allocations: 1.188 kB / 0.9577 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7556, allocations: 4 kB / 0.9577 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.7556, allocations: 0 / 0.9577 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.7557, allocations: 169.5 kB / 0.9579 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7557, allocations: 1.391 kB / 0.9579 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.395e-05/0.7558, allocations: 18.89 kB / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7558, allocations: 0 / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.7558, allocations: 5.125 kB / 0.9579 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7558, allocations: 3.953 kB / 0.9579 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7559, allocations: 5.031 kB / 0.9579 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.7562, allocations: 219.2 kB / 0.9581 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.7562, allocations: 81.98 kB / 0.9582 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.7562, allocations: 1.375 kB / 0.9582 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.7563, allocations: 19.27 kB / 0.9582 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.7564, allocations: 10 kB / 0.9582 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.7564, allocations: 9.031 kB / 0.9582 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.738e-05/0.7564, allocations: 89.33 kB / 0.9583 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7564, allocations: 0 / 0.9583 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002151/0.7566, allocations: 10.97 kB / 0.9583 GB, free: 4.086 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004709/0.7571, allocations: 0.7443 MB / 0.959 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.7574, allocations: 93.67 kB / 0.9591 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7574, allocations: 7.938 kB / 0.9591 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.7575, allocations: 47.2 kB / 0.9592 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.7578, allocations: 12.88 kB / 0.9592 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.7582, allocations: 182.2 kB / 0.9594 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.927e-05/0.7583, allocations: 0.6835 MB / 0.96 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.7584, allocations: 0 / 0.96 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.7584, allocations: 24.88 kB / 0.9601 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7584, allocations: 1.469 kB / 0.9601 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009788/0.7682, allocations: 1.427 MB / 0.9615 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001218/0.7683, allocations: 208.7 kB / 0.9617 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.362, allocations: 6.75 kB / 0.9617 GB, free: 1.551 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.mat does not exist to compare? outputFormat=mat