Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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.ApparatusDryPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",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.363/2.363, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001464/0.001464, allocations: 176.8 kB / 496.1 MB, free: 12.88 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.631/1.631, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009634/0.0009634, allocations: 91.95 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.021e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3297, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.533/4.863, allocations: 1.725 GB / 2.944 GB, free: 110.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/4.863, allocations: 99.94 kB / 2.944 GB, free: 110.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2094/5.073, allocations: 105.6 MB / 3.047 GB, free: 4.094 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.226e-06/5.073, allocations: 0 / 3.047 GB, free: 4.094 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001406/5.073, allocations: 19.94 kB / 3.047 GB, free: 4.074 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003281/5.076, allocations: 1.393 MB / 3.049 GB, free: 2.625 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/5.076, allocations: 11.97 kB / 3.049 GB, free: 2.613 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/5.076, allocations: 46.55 kB / 3.049 GB, free: 2.559 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/5.091, allocations: 2.082 MB / 3.051 GB, free: 484 kB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8296/5.92, allocations: 1.293 MB / 3.052 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/5.92, allocations: 15.53 kB / 3.052 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/5.921, allocations: 22.38 kB / 3.052 GB, free: 393.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/5.922, allocations: 497 kB / 3.053 GB, free: 393.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/5.922, allocations: 3.781 kB / 3.053 GB, free: 393.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.893e-05/5.922, allocations: 7.453 kB / 3.053 GB, free: 393.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/5.922, allocations: 2.969 kB / 3.053 GB, free: 393.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/5.923, allocations: 0.5945 MB / 3.053 GB, free: 393.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/5.935, allocations: 3.652 MB / 3.057 GB, free: 392.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/5.937, allocations: 0.7471 MB / 3.058 GB, free: 392.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005961/5.938, allocations: 321.3 kB / 3.058 GB, free: 392.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/5.938, allocations: 95.33 kB / 3.058 GB, free: 392.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007946/5.939, allocations: 454.1 kB / 3.058 GB, free: 392.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=23): time 3.397e-06/5.939, allocations: 0 / 3.058 GB, free: 392.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=23): time 0.00303/5.942, allocations: 0.8762 MB / 3.059 GB, free: 392.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/5.942, allocations: 111.5 kB / 3.059 GB, free: 392 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004312/5.946, allocations: 2.166 MB / 3.061 GB, free: 391.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001742/5.946, allocations: 37.89 kB / 3.061 GB, free: 391.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005942/5.947, allocations: 0.5609 MB / 3.062 GB, free: 391.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/5.947, allocations: 68.16 kB / 3.062 GB, free: 391.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/5.947, allocations: 5.156 kB / 3.062 GB, free: 391.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.736e-05/5.947, allocations: 323.7 kB / 3.062 GB, free: 391.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008258/5.948, allocations: 444.4 kB / 3.063 GB, free: 391.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008842/5.949, allocations: 481.7 kB / 3.063 GB, free: 391.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/5.95, allocations: 409.4 kB / 3.064 GB, free: 391.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/5.95, allocations: 3.953 kB / 3.064 GB, free: 391.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003751/5.953, allocations: 1.419 MB / 3.065 GB, free: 391.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.579e-05/5.953, allocations: 133.2 kB / 3.065 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/5.953, allocations: 0 / 3.065 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003286/5.957, allocations: 0.7518 MB / 3.066 GB, free: 391 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003296/5.96, allocations: 496.3 kB / 3.066 GB, free: 391 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/5.962, allocations: 2.671 MB / 3.069 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003817/5.966, allocations: 464.9 kB / 3.069 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/5.967, allocations: 34.97 kB / 3.07 GB, free: 388.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/5.967, allocations: 4.094 kB / 3.07 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002832/5.969, allocations: 1.187 MB / 3.071 GB, free: 388.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/5.969, allocations: 2.516 kB / 3.071 GB, free: 388.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/5.972, allocations: 0.6363 MB / 3.071 GB, free: 388.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003443/5.975, allocations: 0.489 MB / 3.072 GB, free: 388.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/5.982, allocations: 6.18 MB / 3.078 GB, free: 383.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/5.985, allocations: 454.5 kB / 3.078 GB, free: 383.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/5.986, allocations: 36.22 kB / 3.078 GB, free: 383.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,appDryPt.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 (36): * Single equations (assignments): 31 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003785/5.986, allocations: 154.2 kB / 3.078 GB, free: 383.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000631/5.987, allocations: 139.9 kB / 3.079 GB, free: 383.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/5.989, allocations: 0.9246 MB / 3.079 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/5.989, allocations: 2.609 kB / 3.079 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/5.989, allocations: 1.188 kB / 3.079 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/5.989, allocations: 1.266 kB / 3.079 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/5.992, allocations: 1.238 MB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/5.992, allocations: 3.75 kB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002896/5.995, allocations: 449.1 kB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/5.995, allocations: 7.859 kB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.674e-05/5.995, allocations: 19.23 kB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/5.995, allocations: 1.125 kB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/5.995, allocations: 0.6094 kB / 3.081 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/5.997, allocations: 0.8341 MB / 3.082 GB, free: 382.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/5.998, allocations: 427.3 kB / 3.082 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004791/5.999, allocations: 7.406 kB / 3.082 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003215/6.002, allocations: 399.3 kB / 3.083 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/6.002, allocations: 23.69 kB / 3.083 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.753e-05/6.002, allocations: 30.12 kB / 3.083 GB, free: 382.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004156/6.006, allocations: 1.672 MB / 3.084 GB, free: 382.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.61e-07/6.006, allocations: 0 / 3.084 GB, free: 382.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003281/6.01, allocations: 0.5889 MB / 3.085 GB, free: 382.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.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 (20): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004533/6.014, allocations: 2.264 MB / 3.087 GB, free: 381.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005335/6.02, allocations: 2.358 MB / 3.09 GB, free: 381.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/6.02, allocations: 1.344 kB / 3.09 GB, free: 381.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007337/6.02, allocations: 412.5 kB / 3.09 GB, free: 381.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/6.023, allocations: 329.9 kB / 3.09 GB, free: 381.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/6.044, allocations: 4.008 MB / 3.094 GB, free: 380.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/6.046, allocations: 1.415 MB / 3.096 GB, free: 379.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004251/6.05, allocations: 0.9837 MB / 3.096 GB, free: 379.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008121/6.051, allocations: 416.5 kB / 3.097 GB, free: 379.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.404e-06/6.051, allocations: 1.25 kB / 3.097 GB, free: 379.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/6.155, allocations: 55.21 MB / 3.151 GB, free: 366.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/6.156, allocations: 225.2 kB / 3.151 GB, free: 366.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.016/10.17, allocations: 4 kB / 3.151 GB, free: 366.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat does not exist to compare? outputFormat=mat