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.001085/0.001085, 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.001046/0.001046, allocations: 194 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 62.91 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2621, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002544/0.2647, allocations: 1.48 MB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2659, allocations: 1.125 MB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.266, allocations: 0 / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.2662, allocations: 15.86 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.2663, allocations: 35.78 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.2665, allocations: 59.84 kB / 1.056 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.2667, allocations: 143.6 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2668, allocations: 65.08 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.2669, allocations: 83.7 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.2671, allocations: 67.69 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.2671, allocations: 8 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.982e-05/0.2672, allocations: 24 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.608e-05/0.2673, allocations: 51.88 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.2674, allocations: 75.52 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.2676, allocations: 199.6 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2676, allocations: 0 / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2676, allocations: 0 / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2676, allocations: 0 / 1.056 GB, free: 4.895 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.0006056/0.2682, allocations: 494.6 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2683, allocations: 12.62 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.2683, allocations: 46.67 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.2684, allocations: 16.75 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.2686, allocations: 248 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.2688, allocations: 115.4 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2688, allocations: 8.375 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.2691, allocations: 169.4 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2692, allocations: 4 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.2692, allocations: 0 / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.2692, allocations: 15.94 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.2693, allocations: 39.97 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009357/0.2702, allocations: 460.4 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.091e-05/0.2703, allocations: 34.56 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.2704, allocations: 28.84 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.2704, allocations: 8.141 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.2704, allocations: 38.56 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2704, allocations: 0 / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000236/0.2707, allocations: 105.4 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.2707, allocations: 59.34 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.2709, allocations: 211.7 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.2709, allocations: 33.64 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.271, allocations: 124 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.271, allocations: 27.8 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.2711, allocations: 33.7 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.2712, allocations: 326.8 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.2712, allocations: 23.98 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.92e-05/0.2713, allocations: 102.3 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.2715, allocations: 138.1 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2715, allocations: 0 / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002148/0.2717, allocations: 157.2 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2717, allocations: 8 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2717, allocations: 3.984 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2717, allocations: 4 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.2718, allocations: 23.94 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2719, allocations: 11.92 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.2719, allocations: 12.22 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2719, allocations: 12 kB / 1.059 GB, free: 1.477 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.0001033/0.2721, allocations: 145.8 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.2721, allocations: 15.81 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.2723, allocations: 119.1 kB / 1.06 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2723, allocations: 0 / 1.06 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2723, allocations: 3.938 kB / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2723, allocations: 7.922 kB / 1.06 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.2726, allocations: 229.6 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2726, allocations: 4 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.2726, allocations: 15.92 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2726, allocations: 4 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2726, allocations: 3.938 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2726, allocations: 0 / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2727, allocations: 3.938 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.2728, allocations: 187.3 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.2729, allocations: 96.92 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2729, allocations: 3.984 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.2732, allocations: 19.98 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.2732, allocations: 7.922 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.2732, allocations: 15.98 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001218/0.2733, allocations: 157.5 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2733, allocations: 0 / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002923/0.2736, allocations: 39.84 kB / 1.06 GB, free: 328 kB / 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.0004953/0.2741, allocations: 0.7415 MB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.2743, allocations: 75.84 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2743, allocations: 0 / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.2744, allocations: 31.92 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.2747, allocations: 25.64 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.2763, allocations: 1.91 MB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.2765, allocations: 0.7314 MB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.2767, allocations: 52.89 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.2767, allocations: 43.42 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2767, allocations: 0 / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.3152, allocations: 4.175 MB / 1.068 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/7.915, allocations: 12.89 kB / 1.068 GB, free: 8.438 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