Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_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.006904/0.006904, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001788/0.001788, allocations: 195.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.229/2.229, allocations: 437.1 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 60.12 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6586, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002207/0.6609, allocations: 1.363 MB / 1.167 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001367/0.661, allocations: 50.27 kB / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.6611, allocations: 4 kB / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.6612, allocations: 7.938 kB / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.065e-05/0.6613, allocations: 23.84 kB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.357e-06/0.6613, allocations: 0 / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.619e-05/0.6614, allocations: 15.92 kB / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.6614, allocations: 4 kB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.736e-05/0.6615, allocations: 11.94 kB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.6615, allocations: 11.92 kB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.6615, allocations: 0 / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.886e-05/0.6616, allocations: 20 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.6616, allocations: 0 / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.6616, allocations: 11.92 kB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.181e-05/0.6617, allocations: 30.58 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.6617, allocations: 0 / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6617, allocations: 0 / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.6617, allocations: 3.938 kB / 1.168 GB, free: 2.234 MB / 0.8887 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.0002959/0.662, allocations: 332.3 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.6621, allocations: 12.92 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.6621, allocations: 38.75 kB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.799e-05/0.6621, allocations: 4.938 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.6623, allocations: 180.2 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.6623, allocations: 4.375 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-06/0.6623, allocations: 384 / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.752e-05/0.6624, allocations: 38.19 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.6624, allocations: 3.938 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-06/0.6624, allocations: 0 / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.6624, allocations: 0 / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.6624, allocations: 4 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.6626, allocations: 157.7 kB / 1.168 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/0.6626, allocations: 18.61 kB / 1.168 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.323e-05/0.6626, allocations: 4.859 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.6627, allocations: 4.062 kB / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.6627, allocations: 34.5 kB / 1.168 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.6627, allocations: 0 / 1.168 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001065/0.6628, allocations: 45.72 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.6628, allocations: 55.44 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.6629, allocations: 113.8 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.663, allocations: 25.7 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.663, allocations: 88.14 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.663, allocations: 7.891 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.6631, allocations: 13.66 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6632, allocations: 318.8 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.6632, allocations: 8 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.6632, allocations: 3.938 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.6632, allocations: 8.859 kB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.6632, allocations: 0 / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.513e-05/0.6633, allocations: 45.67 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6633, allocations: 11.94 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.6633, allocations: 0 / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.6633, allocations: 0 / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.252e-05/0.6634, allocations: 0 / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.6634, allocations: 4.094 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.246e-05/0.6634, allocations: 4 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-06/0.6634, allocations: 0 / 1.169 GB, free: 452 kB / 0.8887 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 6.442e-05/0.6635, allocations: 108 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.6635, allocations: 11.89 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.292e-05/0.6636, allocations: 45.16 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.6636, allocations: 3.938 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.6636, allocations: 4 kB / 1.169 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.6636, allocations: 4.031 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.841e-05/0.6637, allocations: 157.7 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.6637, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.6637, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.6637, allocations: 3.938 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.6637, allocations: 4 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6637, allocations: 4 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6637, allocations: 0 / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.128e-05/0.6638, allocations: 65.12 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.6639, allocations: 81.05 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.6639, allocations: 3.938 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-06/0.6639, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-06/0.6639, allocations: 4 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.6639, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.664, allocations: 95.56 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.664, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001702/0.6641, allocations: 11.95 kB / 1.17 GB, free: 15.74 MB / 0.9044 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.000401/0.6646, allocations: 0.6198 MB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 5.761e-05/0.6646, allocations: 11.94 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.6646, allocations: 4.094 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.853e-06/0.6646, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.6648, allocations: 11.98 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.6656, allocations: 1.098 MB / 1.171 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.6658, allocations: 0.6768 MB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.6659, allocations: 7.938 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.6659, allocations: 11.44 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of SimCode: time 3.9e-07/0.6659, allocations: 0 / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.91/2.576, allocations: 1.395 MB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/15.48, allocations: 11.67 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat does not exist to compare? outputFormat=mat