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.31/2.31, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.00115/0.00115, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.001129/0.001129, allocations: 87.95 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.626e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2907, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.56/4.851, allocations: 1.725 GB / 2.944 GB, free: 110.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/4.851, allocations: 100.4 kB / 2.944 GB, free: 110.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2011/5.052, allocations: 105.9 MB / 3.048 GB, free: 3.637 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.232e-06/5.052, allocations: 0 / 3.048 GB, free: 3.637 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.604e-05/5.052, allocations: 19.94 kB / 3.048 GB, free: 3.617 MB / 1.167 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.002453/5.055, allocations: 1.401 MB / 3.049 GB, free: 2.156 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/5.055, allocations: 12.03 kB / 3.049 GB, free: 2.145 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.579e-05/5.055, allocations: 46.55 kB / 3.049 GB, free: 2.09 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8187/5.874, allocations: 2.174 MB / 3.051 GB, free: 393.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/5.878, allocations: 1.306 MB / 3.053 GB, free: 393.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/5.878, allocations: 16.77 kB / 3.053 GB, free: 393.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/5.878, allocations: 21.5 kB / 3.053 GB, free: 393.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/5.879, allocations: 0.5091 MB / 3.053 GB, free: 393.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/5.879, allocations: 0 / 3.053 GB, free: 393.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/5.879, allocations: 7.203 kB / 3.053 GB, free: 393.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/5.879, allocations: 2.875 kB / 3.053 GB, free: 393.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/5.88, allocations: 0.5911 MB / 3.054 GB, free: 393.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/5.893, allocations: 3.363 MB / 3.057 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/5.894, allocations: 0.74 MB / 3.058 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006071/5.895, allocations: 323.6 kB / 3.058 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.227e-05/5.895, allocations: 8.234 kB / 3.058 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008856/5.896, allocations: 496.8 kB / 3.058 GB, free: 392.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 2.966e-06/5.896, allocations: 0 / 3.058 GB, free: 392.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.01952/5.916, allocations: 2.076 MB / 3.061 GB, free: 392.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/5.916, allocations: 137.7 kB / 3.061 GB, free: 392.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/5.92, allocations: 2.176 MB / 3.063 GB, free: 392.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003181/5.921, allocations: 35.98 kB / 3.063 GB, free: 392.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005873/5.921, allocations: 0.5524 MB / 3.063 GB, free: 392 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/5.922, allocations: 61.12 kB / 3.063 GB, free: 391.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/5.922, allocations: 8.812 kB / 3.063 GB, free: 391.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/5.922, allocations: 325.3 kB / 3.064 GB, free: 391.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008782/5.923, allocations: 464.9 kB / 3.064 GB, free: 391.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/5.923, allocations: 0.4955 MB / 3.065 GB, free: 391.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008278/5.924, allocations: 431.1 kB / 3.065 GB, free: 391.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/5.924, allocations: 0 / 3.065 GB, free: 391.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02049/5.945, allocations: 2.653 MB / 3.068 GB, free: 391.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/5.945, allocations: 220.2 kB / 3.068 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/5.945, allocations: 6.938 kB / 3.068 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004199/5.949, allocations: 0.8656 MB / 3.069 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/5.952, allocations: 442.1 kB / 3.069 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004979/5.957, allocations: 3.444 MB / 3.072 GB, free: 388.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/5.962, allocations: 480.7 kB / 3.073 GB, free: 388.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000309/5.962, allocations: 41.16 kB / 3.073 GB, free: 388.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/5.962, allocations: 8.703 kB / 3.073 GB, free: 388.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01939/5.981, allocations: 2.415 MB / 3.075 GB, free: 388.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/5.981, allocations: 0 / 3.075 GB, free: 388.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003207/5.985, allocations: 0.7523 MB / 3.076 GB, free: 388.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003013/5.988, allocations: 429.8 kB / 3.076 GB, free: 388.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009293/5.997, allocations: 6.958 MB / 3.083 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/6.001, allocations: 467.4 kB / 3.084 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/6.002, allocations: 48.22 kB / 3.084 GB, free: 382.8 MB / 1.167 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.0004155/6.002, allocations: 155.2 kB / 3.084 GB, free: 382.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/6.003, allocations: 139 kB / 3.084 GB, free: 382.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01869/6.021, allocations: 2.134 MB / 3.086 GB, free: 382.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/6.021, allocations: 1.312 kB / 3.086 GB, free: 382.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/6.021, allocations: 0.9688 kB / 3.086 GB, free: 382.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/6.021, allocations: 3.453 kB / 3.086 GB, free: 382.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/6.025, allocations: 1.1 MB / 3.087 GB, free: 382.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/6.025, allocations: 9.844 kB / 3.087 GB, free: 382.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002887/6.028, allocations: 400.5 kB / 3.088 GB, free: 382.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005446/6.029, allocations: 123.2 kB / 3.088 GB, free: 382.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/6.029, allocations: 24.7 kB / 3.088 GB, free: 382.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007731/6.03, allocations: 0.6033 MB / 3.088 GB, free: 381.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/6.03, allocations: 0 / 3.088 GB, free: 381.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/6.049, allocations: 2.071 MB / 3.09 GB, free: 381.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/6.05, allocations: 438.1 kB / 3.091 GB, free: 381.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006496/6.051, allocations: 7.625 kB / 3.091 GB, free: 381.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003554/6.055, allocations: 412.4 kB / 3.091 GB, free: 381.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/6.055, allocations: 31.62 kB / 3.091 GB, free: 381.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/6.055, allocations: 34.95 kB / 3.091 GB, free: 381.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004016/6.059, allocations: 1.675 MB / 3.093 GB, free: 381.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.1e-07/6.059, allocations: 3.719 kB / 3.093 GB, free: 381.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003652/6.063, allocations: 0.5957 MB / 3.093 GB, free: 381.1 MB / 1.167 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.005078/6.068, allocations: 2.429 MB / 3.096 GB, free: 380.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009421/6.077, allocations: 2.736 MB / 3.099 GB, free: 379.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/6.077, allocations: 0 / 3.099 GB, free: 379.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009449/6.078, allocations: 446.2 kB / 3.099 GB, free: 379.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/6.081, allocations: 318.4 kB / 3.099 GB, free: 379.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/6.098, allocations: 3.715 MB / 3.103 GB, free: 378.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/6.1, allocations: 1.408 MB / 3.104 GB, free: 377.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003993/6.104, allocations: 0.9881 MB / 3.105 GB, free: 377.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008047/6.104, allocations: 406.8 kB / 3.106 GB, free: 377 MB / 1.167 GB Notification: Performance of SimCode: time 1.463e-06/6.105, allocations: 0 / 3.106 GB, free: 377 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/6.208, allocations: 58.57 MB / 3.163 GB, free: 354.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/6.208, allocations: 220.1 kB / 3.163 GB, free: 354 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.977/10.19, allocations: 4.062 kB / 3.163 GB, free: 354 MB / 1.167 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