Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001033/0.001033, allocations: 187.2 kB / 492.3 MB, free: 0.6328 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.646/1.646, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.000902/0.0009019, allocations: 91.88 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.262e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2544, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.602/4.857, allocations: 1.725 GB / 2.937 GB, free: 141.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/4.857, allocations: 107.9 kB / 2.937 GB, free: 141.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2093/5.066, allocations: 105.9 MB / 3.041 GB, free: 34.45 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.653e-06/5.066, allocations: 0 / 3.041 GB, free: 34.45 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.00019/5.067, allocations: 20 kB / 3.041 GB, free: 34.43 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.003866/5.07, allocations: 1.402 MB / 3.042 GB, free: 32.96 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/5.071, allocations: 8.031 kB / 3.042 GB, free: 32.96 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/5.071, allocations: 50.5 kB / 3.042 GB, free: 32.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/5.086, allocations: 2.183 MB / 3.044 GB, free: 30.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/5.09, allocations: 1.313 MB / 3.045 GB, free: 29.35 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/5.09, allocations: 16.23 kB / 3.045 GB, free: 29.34 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/5.09, allocations: 23.94 kB / 3.045 GB, free: 29.31 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/5.091, allocations: 0.5056 MB / 3.046 GB, free: 28.79 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/5.091, allocations: 0 / 3.046 GB, free: 28.79 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/5.091, allocations: 4 kB / 3.046 GB, free: 28.79 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/5.091, allocations: 7.953 kB / 3.046 GB, free: 28.78 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/5.092, allocations: 0.5894 MB / 3.047 GB, free: 28.19 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/5.102, allocations: 3.362 MB / 3.05 GB, free: 24.77 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/5.103, allocations: 0.7353 MB / 3.051 GB, free: 24.01 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/5.104, allocations: 329.6 kB / 3.051 GB, free: 23.68 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/5.104, allocations: 11.92 kB / 3.051 GB, free: 23.67 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006552/5.105, allocations: 0.4911 MB / 3.051 GB, free: 23.15 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 4.078e-06/5.105, allocations: 0 / 3.051 GB, free: 23.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.01767/5.122, allocations: 2.075 MB / 3.053 GB, free: 21.06 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/5.122, allocations: 132.5 kB / 3.053 GB, free: 20.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004912/5.127, allocations: 2.178 MB / 3.056 GB, free: 18.71 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003341/5.128, allocations: 33.7 kB / 3.056 GB, free: 18.68 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008303/5.128, allocations: 0.5505 MB / 3.056 GB, free: 18.12 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/5.129, allocations: 59.19 kB / 3.056 GB, free: 18.06 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/5.129, allocations: 8 kB / 3.056 GB, free: 18.05 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001314/5.129, allocations: 329.9 kB / 3.057 GB, free: 17.73 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008329/5.13, allocations: 464.1 kB / 3.057 GB, free: 17.27 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008367/5.131, allocations: 0.5048 MB / 3.058 GB, free: 16.76 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/5.131, allocations: 422.7 kB / 3.058 GB, free: 16.34 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/5.132, allocations: 0 / 3.058 GB, free: 16.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.01832/5.15, allocations: 2.651 MB / 3.06 GB, free: 13.65 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/5.15, allocations: 226.1 kB / 3.061 GB, free: 13.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/5.15, allocations: 4 kB / 3.061 GB, free: 13.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00357/5.154, allocations: 0.8703 MB / 3.062 GB, free: 12.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/5.156, allocations: 427.4 kB / 3.062 GB, free: 12.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/5.161, allocations: 3.445 MB / 3.065 GB, free: 8.527 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/5.164, allocations: 487.1 kB / 3.066 GB, free: 8.051 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/5.164, allocations: 39.95 kB / 3.066 GB, free: 8.012 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/5.165, allocations: 4 kB / 3.066 GB, free: 8.008 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01676/5.181, allocations: 2.41 MB / 3.068 GB, free: 5.578 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/5.181, allocations: 8.031 kB / 3.068 GB, free: 5.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/5.184, allocations: 0.7454 MB / 3.069 GB, free: 4.809 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/5.186, allocations: 435.4 kB / 3.069 GB, free: 4.383 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8386/6.025, allocations: 6.961 MB / 3.076 GB, free: 380.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/6.029, allocations: 466.2 kB / 3.077 GB, free: 380.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/6.029, allocations: 39.03 kB / 3.077 GB, free: 380.1 MB / 1.151 GB 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.0003549/6.029, allocations: 160.5 kB / 3.077 GB, free: 380 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/6.03, allocations: 141.6 kB / 3.077 GB, free: 380 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01845/6.048, allocations: 2.121 MB / 3.079 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/6.048, allocations: 2.375 kB / 3.079 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/6.048, allocations: 1.5 kB / 3.079 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/6.048, allocations: 1.312 kB / 3.079 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/6.051, allocations: 1.096 MB / 3.08 GB, free: 379.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/6.051, allocations: 0.8125 kB / 3.08 GB, free: 379.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/6.053, allocations: 399.5 kB / 3.08 GB, free: 379.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/6.054, allocations: 131.1 kB / 3.081 GB, free: 379.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/6.054, allocations: 24.03 kB / 3.081 GB, free: 379.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006191/6.055, allocations: 0.6002 MB / 3.081 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/6.055, allocations: 3.938 kB / 3.081 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/6.072, allocations: 2.076 MB / 3.083 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/6.074, allocations: 436.4 kB / 3.084 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/6.074, allocations: 8.578 kB / 3.084 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/6.077, allocations: 415.8 kB / 3.084 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/6.077, allocations: 24.8 kB / 3.084 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/6.078, allocations: 34.55 kB / 3.084 GB, free: 378.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003249/6.081, allocations: 1.675 MB / 3.086 GB, free: 378.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.7e-07/6.081, allocations: 0 / 3.086 GB, free: 378.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002551/6.083, allocations: 0.5915 MB / 3.086 GB, free: 378.6 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.005682/6.089, allocations: 2.431 MB / 3.089 GB, free: 377.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0103/6.099, allocations: 2.739 MB / 3.091 GB, free: 377.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/6.099, allocations: 0 / 3.091 GB, free: 377.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/6.101, allocations: 450 kB / 3.092 GB, free: 377.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/6.103, allocations: 320.2 kB / 3.092 GB, free: 377.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/6.12, allocations: 3.721 MB / 3.096 GB, free: 376.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/6.122, allocations: 1.414 MB / 3.097 GB, free: 375.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004185/6.126, allocations: 0.9846 MB / 3.098 GB, free: 375.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007845/6.127, allocations: 402.9 kB / 3.098 GB, free: 375.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.323e-06/6.127, allocations: 0 / 3.098 GB, free: 375.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/6.24, allocations: 58.57 MB / 3.156 GB, free: 364.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/6.24, allocations: 208.9 kB / 3.156 GB, free: 363.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.2/10.44, allocations: 0 / 3.156 GB, free: 363.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat does not exist to compare? outputFormat=mat