Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.318/2.318, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 176.8 kB / 491.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 91.94 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.393e-05/2.396e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3193, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.962/5.281, allocations: 1.725 GB / 2.937 GB, free: 139.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/5.281, allocations: 95.94 kB / 2.937 GB, free: 139.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1794/5.461, allocations: 90.6 MB / 3.026 GB, free: 48.23 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.827e-06/5.461, allocations: 7.984 kB / 3.026 GB, free: 48.22 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.225e-05/5.461, allocations: 16 kB / 3.026 GB, free: 48.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.002364/5.463, allocations: 1.401 MB / 3.027 GB, free: 46.74 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/5.463, allocations: 8.031 kB / 3.027 GB, free: 46.73 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/5.479, allocations: 2.183 MB / 3.029 GB, free: 44.55 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/5.481, allocations: 1.305 MB / 3.031 GB, free: 43.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/5.481, allocations: 4 kB / 3.031 GB, free: 43.19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-05/5.482, allocations: 16 kB / 3.031 GB, free: 43.18 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000816/5.482, allocations: 0.578 MB / 3.031 GB, free: 42.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006837/5.483, allocations: 0.4886 MB / 3.032 GB, free: 42.09 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/5.483, allocations: 3.953 kB / 3.032 GB, free: 42.09 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/5.483, allocations: 4 kB / 3.032 GB, free: 42.09 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/5.483, allocations: 0 / 3.032 GB, free: 42.09 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008963/5.492, allocations: 3.316 MB / 3.035 GB, free: 38.73 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/5.493, allocations: 0.7314 MB / 3.036 GB, free: 37.98 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/5.493, allocations: 317.6 kB / 3.036 GB, free: 37.66 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.109e-05/5.494, allocations: 7.984 kB / 3.036 GB, free: 37.65 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005407/5.494, allocations: 485 kB / 3.036 GB, free: 37.15 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 2.655e-06/5.494, allocations: 0 / 3.036 GB, free: 37.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0191/5.513, allocations: 2.4 MB / 3.039 GB, free: 34.74 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/5.513, allocations: 136.5 kB / 3.039 GB, free: 34.58 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/5.516, allocations: 2.089 MB / 3.041 GB, free: 32.48 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002637/5.517, allocations: 29.7 kB / 3.041 GB, free: 32.45 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/5.517, allocations: 0.5467 MB / 3.041 GB, free: 31.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/5.517, allocations: 55.2 kB / 3.041 GB, free: 31.84 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/5.517, allocations: 0 / 3.041 GB, free: 31.84 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.649e-05/5.517, allocations: 329.9 kB / 3.042 GB, free: 31.52 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/5.518, allocations: 464.2 kB / 3.042 GB, free: 31.06 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/5.518, allocations: 0.5009 MB / 3.043 GB, free: 30.55 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02222/5.541, allocations: 9.735 MB / 3.052 GB, free: 20.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/5.541, allocations: 4 kB / 3.052 GB, free: 20.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0404/5.581, allocations: 11.96 MB / 3.064 GB, free: 8.801 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/5.581, allocations: 222 kB / 3.064 GB, free: 8.562 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/5.581, allocations: 7.984 kB / 3.064 GB, free: 8.555 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/5.584, allocations: 0.8351 MB / 3.065 GB, free: 7.703 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/5.587, allocations: 427.4 kB / 3.065 GB, free: 7.285 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/5.591, allocations: 3.519 MB / 3.069 GB, free: 3.637 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003602/5.595, allocations: 471.1 kB / 3.069 GB, free: 3.176 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/5.595, allocations: 39.95 kB / 3.069 GB, free: 3.137 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/5.595, allocations: 4 kB / 3.069 GB, free: 3.133 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8594/6.454, allocations: 11.69 MB / 3.081 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/6.454, allocations: 0 / 3.081 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002953/6.457, allocations: 0.7518 MB / 3.081 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/6.46, allocations: 427.5 kB / 3.082 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008053/6.468, allocations: 6.745 MB / 3.088 GB, free: 378.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/6.472, allocations: 458.7 kB / 3.089 GB, free: 378.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/6.473, allocations: 39.75 kB / 3.089 GB, free: 378.6 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: adp.XADP:VARIABLE(min = 0.0 max = 1.0 ) "Humidity mass fraction of air at apparatus dew point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 28 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003468/6.473, allocations: 151.7 kB / 3.089 GB, free: 378.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02023/6.493, allocations: 2.313 MB / 3.091 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007166/6.494, allocations: 136 kB / 3.091 GB, free: 378.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/6.514, allocations: 2.183 MB / 3.094 GB, free: 378.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/6.514, allocations: 10.33 kB / 3.094 GB, free: 378.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/6.514, allocations: 3.969 kB / 3.094 GB, free: 378.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/6.514, allocations: 2.625 kB / 3.094 GB, free: 378.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/6.517, allocations: 1.061 MB / 3.095 GB, free: 378 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/6.517, allocations: 1.312 kB / 3.095 GB, free: 378 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/6.519, allocations: 393 kB / 3.095 GB, free: 378 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004823/6.52, allocations: 125.1 kB / 3.095 GB, free: 378 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/6.52, allocations: 28.86 kB / 3.095 GB, free: 378 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007145/6.521, allocations: 0.6122 MB / 3.096 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/6.521, allocations: 0 / 3.096 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01918/6.54, allocations: 2.123 MB / 3.098 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/6.541, allocations: 436.1 kB / 3.098 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/6.542, allocations: 6.312 kB / 3.098 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003079/6.545, allocations: 412.6 kB / 3.099 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/6.545, allocations: 27.97 kB / 3.099 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.903e-05/6.545, allocations: 31.36 kB / 3.099 GB, free: 377.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002865/6.548, allocations: 1.597 MB / 3.1 GB, free: 377 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.41e-07/6.548, allocations: 0 / 3.1 GB, free: 377 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002557/6.55, allocations: 0.562 MB / 3.101 GB, free: 377 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005178/6.556, allocations: 2.596 MB / 3.103 GB, free: 376.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009124/6.565, allocations: 2.691 MB / 3.106 GB, free: 375.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/6.565, allocations: 1.438 kB / 3.106 GB, free: 375.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008263/6.566, allocations: 440.7 kB / 3.106 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/6.568, allocations: 318.9 kB / 3.107 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/6.588, allocations: 3.716 MB / 3.11 GB, free: 375 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/6.589, allocations: 1.411 MB / 3.112 GB, free: 374.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004322/6.593, allocations: 1.004 MB / 3.113 GB, free: 374.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008645/6.594, allocations: 402.5 kB / 3.113 GB, free: 374.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.044e-06/6.594, allocations: 0 / 3.113 GB, free: 374.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09184/6.686, allocations: 45.83 MB / 3.158 GB, free: 363.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/6.686, allocations: 169.7 kB / 3.158 GB, free: 363.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.078/10.76, allocations: 0 / 3.158 GB, free: 363.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat does not exist to compare? outputFormat=mat