Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_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.001285/0.001285, 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.001178/0.001178, allocations: 197 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.294/1.294, 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.0.1-master/package.mo): time 2.581/2.581, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.19 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2564, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002608/0.259, allocations: 1.38 MB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.2592, allocations: 35.89 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.2592, allocations: 3.938 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.2594, allocations: 11.92 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.2595, allocations: 19.92 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.2596, allocations: 0 / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.046e-05/0.2596, allocations: 11.98 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.2597, allocations: 11.94 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.2597, allocations: 7.938 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.2598, allocations: 8 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2598, allocations: 0 / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-05/0.2599, allocations: 11.98 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.2599, allocations: 7.922 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.2599, allocations: 11.94 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.2601, allocations: 31.91 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2601, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2601, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2601, allocations: 0 / 1.054 GB, free: 6.684 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003896/0.2605, allocations: 331.7 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.2606, allocations: 12.62 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.2606, allocations: 30.75 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.2606, allocations: 0.9375 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.2609, allocations: 184.2 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.2609, allocations: 384 / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.2609, allocations: 8.375 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/0.261, allocations: 34.19 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.261, allocations: 7.938 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.261, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.261, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.2611, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.2613, allocations: 153.7 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.173e-05/0.2613, allocations: 26.61 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.2613, allocations: 8.797 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.2614, allocations: 4.062 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.2614, allocations: 34.5 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.2614, allocations: 0 / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001564/0.2616, allocations: 45.62 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.2616, allocations: 51.41 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2617, allocations: 118 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2618, allocations: 25.7 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.2618, allocations: 84.14 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.2618, allocations: 3.906 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.2619, allocations: 13.72 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.262, allocations: 318.8 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.262, allocations: 0 / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.262, allocations: 3.938 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.262, allocations: 16.92 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2621, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.704e-05/0.2621, allocations: 37.69 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2621, allocations: 12.88 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2621, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2622, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.2622, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2623, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.2623, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2623, allocations: 4 kB / 1.056 GB, free: 4.91 MB / 0.8106 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.499e-05/0.2624, allocations: 113.9 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.2624, allocations: 15.78 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.537e-05/0.2625, allocations: 41.22 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2625, allocations: 3.938 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2625, allocations: 4 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2625, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.2626, allocations: 149.7 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2626, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.2627, allocations: 12.02 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2627, allocations: 3.938 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2627, allocations: 8 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2627, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2627, allocations: 3.938 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.449e-05/0.2628, allocations: 61.06 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.2628, allocations: 85.09 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2628, allocations: 3.938 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.2628, allocations: 4.031 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-06/0.2629, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.2629, allocations: 4 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.2629, allocations: 91.58 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2629, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002019/0.2631, allocations: 4 kB / 1.056 GB, free: 4.211 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 (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.0003924/0.2635, allocations: 0.6244 MB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.228e-05/0.2636, allocations: 8 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2636, allocations: 0 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.497e-06/0.2636, allocations: 4 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.2638, allocations: 4.156 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008224/0.2646, allocations: 1.106 MB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.2648, allocations: 0.6845 MB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.142e-05/0.2649, allocations: 11.92 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.265, allocations: 7.438 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.265, allocations: 0 / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.2809, allocations: 1.369 MB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.757, allocations: 5.5 kB / 1.06 GB, free: 356 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat does not exist to compare? outputFormat=mat