Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",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.002399/0.002399, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001921/0.001921, allocations: 190.8 kB / 16.25 MB, free: 6.641 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.556/2.556, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.92/4.92, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 62.56 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.668/0.6708, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.004851/0.6757, allocations: 1.56 MB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002408/0.6782, allocations: 1.085 MB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.6783, allocations: 0 / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.6786, allocations: 15.92 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.679, allocations: 35.84 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.6794, allocations: 59.17 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.6798, allocations: 147.6 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.6801, allocations: 69 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.6803, allocations: 83.7 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.6807, allocations: 59.69 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.948e-05/0.6808, allocations: 12 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.6809, allocations: 24 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.6811, allocations: 51.88 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.6813, allocations: 75.52 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.6818, allocations: 199.6 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.6819, allocations: 0 / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.836e-06/0.6819, allocations: 4 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.6819, allocations: 0 / 1.056 GB, free: 5.176 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001235/0.6832, allocations: 490.7 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.6832, allocations: 12.62 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.6833, allocations: 46.67 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.6835, allocations: 16.75 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.684, allocations: 255.9 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.6842, allocations: 115.4 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.6843, allocations: 8.375 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.6848, allocations: 161.4 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.6849, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.6849, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/0.685, allocations: 15.92 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.6851, allocations: 43.97 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.6871, allocations: 464.4 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.6872, allocations: 34.58 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.893e-05/0.6873, allocations: 24.84 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.6873, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.6874, allocations: 46.55 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.6874, allocations: 0 / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004779/0.6879, allocations: 105.6 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.688, allocations: 55.34 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.6884, allocations: 223.7 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.6884, allocations: 33.64 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.6886, allocations: 116 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.6886, allocations: 23.8 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.6887, allocations: 33.7 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.6889, allocations: 326.8 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.689, allocations: 27.97 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.6892, allocations: 102.2 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.6895, allocations: 146.1 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.6895, allocations: 3.938 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004691/0.69, allocations: 149.2 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.6901, allocations: 9.094 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.6901, allocations: 384 / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.6901, allocations: 8 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.6903, allocations: 31.92 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.6903, allocations: 7.938 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.6905, allocations: 11.84 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.6905, allocations: 8 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0002183/0.6907, allocations: 145.8 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.6909, allocations: 15.81 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.6912, allocations: 115 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6913, allocations: 0 / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.6913, allocations: 3.938 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.6913, allocations: 0 / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.6918, allocations: 233.5 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6918, allocations: 4 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.37e-05/0.6919, allocations: 11.94 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.6919, allocations: 7.938 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.692, allocations: 0 / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.692, allocations: 0 / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.692, allocations: 3.938 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.6924, allocations: 191.3 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.919e-05/0.6925, allocations: 96.89 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.6925, allocations: 4 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/0.693, allocations: 15.98 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.6931, allocations: 7.922 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.6931, allocations: 15.98 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002724/0.6934, allocations: 161.5 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.21e-07/0.6934, allocations: 0 / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006341/0.6941, allocations: 35.84 kB / 1.06 GB, free: 0.6133 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 (8): * Single equations (assignments): 8 * 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.000969/0.6951, allocations: 0.7404 MB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003142/0.6954, allocations: 79.81 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.6954, allocations: 0 / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.6955, allocations: 27.94 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.6961, allocations: 28.67 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.6994, allocations: 1.953 MB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.6999, allocations: 0.7353 MB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002177/0.7001, allocations: 44.8 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.7003, allocations: 47.41 kB / 1.063 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of SimCode: time 1.143e-06/0.7003, allocations: 4 kB / 1.063 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07308/0.7734, allocations: 4.092 MB / 1.067 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003992/0.7739, allocations: 221.1 kB / 1.068 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.652/5.426, allocations: 3.938 kB / 1.068 GB, free: 8.551 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat does not exist to compare? outputFormat=mat