Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_11_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.001735/0.001735, allocations: 108 kB / 15.6 MB, free: 132 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.001886/0.001886, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.676/2.676, allocations: 469.8 MB / 0.7424 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001776, allocations: 64 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2521, allocations: 159.2 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002539/0.2547, allocations: 1.481 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2561, allocations: 1.113 MB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.2562, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.2563, allocations: 19.86 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.2565, allocations: 47.77 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.2566, allocations: 57.34 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.2568, allocations: 139.6 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.257, allocations: 69.08 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.728e-05/0.2571, allocations: 79.7 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.2572, allocations: 61.11 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.2573, allocations: 8 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.2574, allocations: 31.98 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.608e-05/0.2575, allocations: 43.89 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.173e-05/0.2575, allocations: 83.5 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.2578, allocations: 195.7 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2578, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2578, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.2578, allocations: 0 / 1.067 GB, free: 10.72 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000667/0.2585, allocations: 0.4908 MB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2585, allocations: 12.03 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.2586, allocations: 38.75 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.2586, allocations: 16.75 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.2589, allocations: 255.9 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.2591, allocations: 119.4 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.2591, allocations: 8.359 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.2594, allocations: 153.5 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2594, allocations: 3.984 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.2595, allocations: 4 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.2595, allocations: 11.94 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.2596, allocations: 51.91 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/0.2606, allocations: 456.3 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.608e-05/0.2606, allocations: 38.5 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.2607, allocations: 28.86 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.2607, allocations: 8.125 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2607, allocations: 34.56 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.2608, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002441/0.261, allocations: 101.6 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.261, allocations: 59.28 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.2613, allocations: 219.7 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.2613, allocations: 25.7 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.2614, allocations: 127.9 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.2614, allocations: 27.78 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.2615, allocations: 29.72 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.2616, allocations: 326.8 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.2617, allocations: 31.98 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.2618, allocations: 98.22 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.262, allocations: 146.1 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.262, allocations: 0 / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002334/0.2622, allocations: 149.5 kB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2622, allocations: 12.03 kB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2622, allocations: 0 / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2623, allocations: 4 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.2623, allocations: 27.92 kB / 1.07 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2624, allocations: 7.938 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.318e-05/0.2624, allocations: 19.84 kB / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.2624, allocations: 8 kB / 1.07 GB, free: 7.293 MB / 0.8262 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.0001258/0.2626, allocations: 137.8 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.2626, allocations: 15.81 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.2628, allocations: 122.9 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2629, allocations: 3.984 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2629, allocations: 3.938 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2629, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.2631, allocations: 237.4 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2631, allocations: 4 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.2632, allocations: 8 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2632, allocations: 4 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2632, allocations: 7.922 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2632, allocations: 4 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2632, allocations: 3.938 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.2634, allocations: 195.3 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.2635, allocations: 85.02 kB / 1.071 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.2635, allocations: 0 / 1.071 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.2637, allocations: 23.97 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.2637, allocations: 7.938 kB / 1.071 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.2638, allocations: 11.98 kB / 1.071 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001551/0.2639, allocations: 161.5 kB / 1.071 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2639, allocations: 0 / 1.071 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002719/0.2642, allocations: 39.83 kB / 1.071 GB, free: 6.141 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 (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.0006292/0.2648, allocations: 0.7439 MB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.265, allocations: 75.83 kB / 1.072 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.265, allocations: 4.75 kB / 1.072 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/0.2651, allocations: 23.98 kB / 1.072 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.2653, allocations: 23.94 kB / 1.072 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.2672, allocations: 1.911 MB / 1.074 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.2676, allocations: 0.7314 MB / 1.075 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.2677, allocations: 60.83 kB / 1.075 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.2678, allocations: 43.42 kB / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2678, allocations: 3.938 kB / 1.075 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.721/1.989, allocations: 4.178 MB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/15.67, allocations: 6.172 kB / 1.079 GB, free: 14.24 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat does not exist to compare? outputFormat=mat