Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002206/0.002206, allocations: 190.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.521/2.521, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.858/4.858, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 70 kB / 0.8987 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6723/0.6748, allocations: 157.4 MB / 1.052 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.006749/0.6817, allocations: 1.435 MB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002861/0.682, allocations: 43.81 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.6821, allocations: 4 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.6824, allocations: 0 / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.6827, allocations: 15.92 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.075e-06/0.6827, allocations: 4 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.6828, allocations: 19.92 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.6829, allocations: 0 / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.683, allocations: 15.86 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.6831, allocations: 8 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.6832, allocations: 0 / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.6833, allocations: 15.94 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.055e-05/0.6834, allocations: 11.98 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.6835, allocations: 3.938 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.6837, allocations: 27.91 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.415e-05/0.6837, allocations: 7.984 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.088e-06/0.6837, allocations: 0 / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.6838, allocations: 0 / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0008972/0.6847, allocations: 339.6 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 9.572e-05/0.6848, allocations: 8.625 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.183e-05/0.6849, allocations: 30.75 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.685, allocations: 4.938 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.6854, allocations: 176.3 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.6854, allocations: 384 / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.6854, allocations: 384 / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.6856, allocations: 38.25 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.6857, allocations: 3.938 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.6857, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.6857, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.556e-05/0.6858, allocations: 11.92 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.6861, allocations: 153.7 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/0.6862, allocations: 30.5 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.6863, allocations: 8.859 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.6864, allocations: 0 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.6864, allocations: 30.56 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 2.094e-06/0.6864, allocations: 0 / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002768/0.6867, allocations: 45.64 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.6868, allocations: 51.41 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.687, allocations: 121.8 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.6871, allocations: 29.83 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.6872, allocations: 80.14 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.6872, allocations: 3.906 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.6873, allocations: 17.72 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002385/0.6876, allocations: 310.8 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.6876, allocations: 0 / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.6877, allocations: 7.984 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.922e-05/0.6877, allocations: 12.92 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.6877, allocations: 8 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001186/0.6879, allocations: 37.64 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/0.6879, allocations: 8.875 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.688, allocations: 3.938 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.688, allocations: 0 / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.6881, allocations: 4 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.6882, allocations: 4.297 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.6882, allocations: 0 / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.6882, allocations: 0 / 1.055 GB, free: 5.195 MB / 0.8106 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.6884, allocations: 117.9 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.6885, allocations: 7.844 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.6887, allocations: 49.16 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6887, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6887, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6887, allocations: 0 / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.689, allocations: 149.7 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.689, allocations: 0 / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.689, allocations: 4 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.6891, allocations: 7.969 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.6891, allocations: 4 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6891, allocations: 3.938 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6891, allocations: 3.984 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.6893, allocations: 53.14 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.6894, allocations: 85.11 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.6894, allocations: 3.938 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.6895, allocations: 32 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.6895, allocations: 7.984 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.6895, allocations: 0 / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001349/0.6896, allocations: 91.27 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6897, allocations: 7.938 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004151/0.6901, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.6912, allocations: 0.6271 MB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.6914, allocations: 8 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6914, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.6914, allocations: 7.938 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.6917, allocations: 3.656 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.6936, allocations: 1.114 MB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.6944, allocations: 0.6806 MB / 1.058 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00022/0.6946, allocations: 4 kB / 1.058 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.6947, allocations: 11.42 kB / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of SimCode: time 5.71e-07/0.6947, allocations: 0 / 1.058 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07827/0.773, allocations: 1.302 MB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004737/0.7736, allocations: 217.8 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.695/5.469, allocations: 0 / 1.06 GB, free: 0.4961 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat does not exist to compare? outputFormat=mat