Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.194/2.194, allocations: 390.5 MB / 398 MB, free: 10.96 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.001027/0.001027, allocations: 185.9 kB / 491.2 MB, free: 1.59 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.432/1.432, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009831/0.0009832, allocations: 91.89 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.871e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2598, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.473, allocations: 375.4 MB / 1.579 GB, free: 6.5 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.474, allocations: 82.27 kB / 1.579 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03113/1.505, allocations: 11.75 MB / 1.591 GB, free: 12.87 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.743e-06/1.505, allocations: 0 / 1.591 GB, free: 12.87 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.021e-05/1.505, allocations: 4 kB / 1.591 GB, free: 12.86 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001163/1.506, allocations: 0.6144 MB / 1.591 GB, free: 12.22 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.506, allocations: 8.031 kB / 1.591 GB, free: 12.21 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008035/1.507, allocations: 139.4 kB / 1.591 GB, free: 12.07 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009313/1.508, allocations: 329.4 kB / 1.592 GB, free: 11.73 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.508, allocations: 3.984 kB / 1.592 GB, free: 11.72 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/1.508, allocations: 8 kB / 1.592 GB, free: 11.71 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002706/1.508, allocations: 138.7 kB / 1.592 GB, free: 11.63 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/1.508, allocations: 141.8 kB / 1.592 GB, free: 11.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.508, allocations: 7.891 kB / 1.592 GB, free: 11.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/1.508, allocations: 0 / 1.592 GB, free: 11.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/1.508, allocations: 4 kB / 1.592 GB, free: 11.51 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/1.51, allocations: 0.5523 MB / 1.592 GB, free: 11 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/1.51, allocations: 100.8 kB / 1.593 GB, free: 10.93 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/1.51, allocations: 83.34 kB / 1.593 GB, free: 10.88 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/1.511, allocations: 0.5204 MB / 1.593 GB, free: 10.25 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/1.511, allocations: 30.56 kB / 1.593 GB, free: 10.21 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 2.043e-06/1.511, allocations: 8 kB / 1.593 GB, free: 10.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.05026/1.561, allocations: 3.784 MB / 1.597 GB, free: 6.555 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/1.561, allocations: 55.41 kB / 1.597 GB, free: 6.488 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/1.561, allocations: 209.4 kB / 1.597 GB, free: 6.312 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/1.561, allocations: 29.08 kB / 1.597 GB, free: 6.281 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/1.561, allocations: 152.5 kB / 1.597 GB, free: 6.168 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/1.562, allocations: 39.3 kB / 1.597 GB, free: 6.133 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/1.562, allocations: 3.938 kB / 1.597 GB, free: 6.129 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.562, allocations: 344.1 kB / 1.598 GB, free: 5.797 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/1.562, allocations: 74.8 kB / 1.598 GB, free: 5.754 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/1.562, allocations: 73.72 kB / 1.598 GB, free: 5.711 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1426/1.705, allocations: 10.76 MB / 1.608 GB, free: 11.21 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/1.705, allocations: 0 / 1.608 GB, free: 11.21 MB / 1.026 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.144/1.849, allocations: 10.91 MB / 1.619 GB, free: 0.5938 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/1.849, allocations: 5.406 kB / 1.619 GB, free: 0.5898 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.849, allocations: 0 / 1.619 GB, free: 0.5898 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.849, allocations: 4 kB / 1.619 GB, free: 0.5859 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/1.849, allocations: 86.92 kB / 1.619 GB, free: 0.5039 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.849, allocations: 0 / 1.619 GB, free: 0.5039 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/1.85, allocations: 63.78 kB / 1.619 GB, free: 452 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/1.85, allocations: 4 kB / 1.619 GB, free: 448 kB / 1.026 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001078/1.85, allocations: 105.8 kB / 1.619 GB, free: 336 kB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04938/1.899, allocations: 3.78 MB / 1.623 GB, free: 12.68 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/1.899, allocations: 23.72 kB / 1.623 GB, free: 12.65 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04763/1.947, allocations: 3.813 MB / 1.627 GB, free: 8.973 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.947, allocations: 0 / 1.627 GB, free: 8.973 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.947, allocations: 0 / 1.627 GB, free: 8.973 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.947, allocations: 4 kB / 1.627 GB, free: 8.969 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/1.947, allocations: 274.7 kB / 1.627 GB, free: 8.707 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.947, allocations: 0 / 1.627 GB, free: 8.707 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/1.948, allocations: 75.92 kB / 1.627 GB, free: 8.633 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/1.948, allocations: 0 / 1.627 GB, free: 8.633 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/1.948, allocations: 7.984 kB / 1.627 GB, free: 8.625 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.948, allocations: 0 / 1.627 GB, free: 8.625 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.948, allocations: 0 / 1.627 GB, free: 8.625 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04871/1.997, allocations: 3.883 MB / 1.631 GB, free: 4.863 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/1.997, allocations: 130.5 kB / 1.631 GB, free: 4.727 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/1.997, allocations: 0 / 1.631 GB, free: 4.727 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/1.997, allocations: 47.95 kB / 1.631 GB, free: 4.68 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/1.997, allocations: 19.91 kB / 1.631 GB, free: 4.664 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/1.997, allocations: 19.86 kB / 1.631 GB, free: 4.645 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001782/1.998, allocations: 168.5 kB / 1.631 GB, free: 4.512 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.998, allocations: 0 / 1.631 GB, free: 4.512 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0004415/1.998, allocations: 75.64 kB / 1.631 GB, free: 4.441 MB / 1.042 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.05036/2.048, allocations: 4.507 MB / 1.636 GB, free: 56 kB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003682/2.049, allocations: 179.3 kB / 1.636 GB, free: 15.95 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/2.049, allocations: 0 / 1.636 GB, free: 15.95 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/2.049, allocations: 90.09 kB / 1.636 GB, free: 15.89 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/2.049, allocations: 34.61 kB / 1.636 GB, free: 15.86 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/2.05, allocations: 358.9 kB / 1.636 GB, free: 15.51 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/2.05, allocations: 0.7552 MB / 1.637 GB, free: 14.73 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002928/2.051, allocations: 49.16 kB / 1.637 GB, free: 14.68 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/2.051, allocations: 75.83 kB / 1.637 GB, free: 14.66 MB / 1.057 GB Notification: Performance of SimCode: time 4.21e-07/2.051, allocations: 4 kB / 1.637 GB, free: 14.65 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/2.076, allocations: 5.142 MB / 1.642 GB, free: 9.543 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/2.076, allocations: 172.9 kB / 1.642 GB, free: 9.344 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/3.919, allocations: 0 / 1.642 GB, free: 9.344 MB / 1.057 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat does not exist to compare? outputFormat=mat