Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_11_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.001618/0.001618, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.66/2.66, allocations: 469.8 MB / 0.7424 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 64.91 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2544, allocations: 159.1 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002751/0.2572, allocations: 1.377 MB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001452/0.2573, allocations: 39.81 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.2574, allocations: 0 / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.2575, allocations: 19.92 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.788e-05/0.2576, allocations: 7.938 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.641e-06/0.2576, allocations: 4 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.955e-05/0.2577, allocations: 19.92 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.2577, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.2578, allocations: 7.938 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.2578, allocations: 11.97 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2579, allocations: 7.938 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.794e-05/0.2579, allocations: 12 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.2579, allocations: 3.938 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.258, allocations: 11.94 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.972e-05/0.2581, allocations: 31.89 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2581, allocations: 0 / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2581, allocations: 4 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2581, allocations: 0 / 1.066 GB, free: 12.68 MB / 0.8262 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.0003225/0.2584, allocations: 331.7 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2585, allocations: 15.97 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.2585, allocations: 30.75 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.2585, allocations: 0.9375 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.2587, allocations: 180.3 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.2587, allocations: 384 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.2587, allocations: 384 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.959e-05/0.2588, allocations: 34.25 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2588, allocations: 3.938 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-06/0.2588, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.2589, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.2589, allocations: 8 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.259, allocations: 157.6 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/0.2591, allocations: 14.58 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.2591, allocations: 18.7 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.2591, allocations: 0 / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.2592, allocations: 34.55 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.2592, allocations: 4 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001258/0.2593, allocations: 41.58 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2594, allocations: 51.41 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2595, allocations: 113.8 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2595, allocations: 25.7 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.2595, allocations: 88.14 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.2596, allocations: 3.906 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.2596, allocations: 13.7 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2597, allocations: 323 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.2598, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/0.2598, allocations: 4 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.716e-05/0.2598, allocations: 12.86 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2598, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.562e-05/0.2599, allocations: 37.62 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2599, allocations: 11.94 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2599, allocations: 4 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2599, allocations: 4.094 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.26, allocations: 3.938 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.26, allocations: 0 / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.26, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.26, allocations: 0 / 1.067 GB, free: 10.91 MB / 0.8262 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 7.853e-05/0.2601, allocations: 105.8 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.2601, allocations: 19.83 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.2602, allocations: 33.23 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2602, allocations: 8.031 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2602, allocations: 3.938 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.2602, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2604, allocations: 157.7 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2604, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.2604, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.2604, allocations: 7.938 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.2604, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2604, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2604, allocations: 7.922 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.907e-05/0.2605, allocations: 65.12 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.2606, allocations: 77.11 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.2606, allocations: 3.938 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.172e-05/0.2606, allocations: 4 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-06/0.2606, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.2606, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.337e-05/0.2607, allocations: 99.56 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2607, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001926/0.2609, allocations: 15.94 kB / 1.068 GB, free: 10.21 MB / 0.8262 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.000448/0.2614, allocations: 0.6118 MB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.2614, allocations: 20.02 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2614, allocations: 0 / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-06/0.2615, allocations: 3.938 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.2616, allocations: 6.406 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/0.2625, allocations: 1.118 MB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.2628, allocations: 0.6768 MB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.539e-05/0.2629, allocations: 8.031 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.2629, allocations: 7.438 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2629, allocations: 0 / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7377/1.001, allocations: 1.365 MB / 1.071 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.68, allocations: 10.11 kB / 1.071 GB, free: 6.328 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat does not exist to compare? outputFormat=mat