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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9527/0.9547, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002693/0.9574, allocations: 1.392 MB / 1.273 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001734/0.9575, allocations: 45.8 kB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.9576, allocations: 4.719 kB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.9577, allocations: 8.125 kB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.9579, allocations: 18.59 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.9579, allocations: 0 / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.9579, allocations: 22.42 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.958, allocations: 2.938 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.958, allocations: 5.422 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.9581, allocations: 13.73 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.9581, allocations: 0.75 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.951e-05/0.9582, allocations: 8.578 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.9582, allocations: 14.14 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.9582, allocations: 10.69 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.9583, allocations: 31.78 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9583, allocations: 0 / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9583, allocations: 3.938 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.9584, allocations: 0.8125 kB / 1.273 GB, free: 6.637 MB / 0.9981 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.0002953/0.9586, allocations: 331 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.9587, allocations: 10.19 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.474e-05/0.9587, allocations: 30.75 kB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.9587, allocations: 3.266 kB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.9589, allocations: 181.7 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.9589, allocations: 4.359 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.9589, allocations: 1 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.466e-05/0.959, allocations: 31.2 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.959, allocations: 3.938 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.959, allocations: 0.9375 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.959, allocations: 0.75 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.066e-05/0.959, allocations: 6.438 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.9592, allocations: 158 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.137e-05/0.9592, allocations: 22 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.9592, allocations: 10.52 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.9592, allocations: 5.469 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.9593, allocations: 31.53 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.9593, allocations: 0 / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.9594, allocations: 46.94 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.9594, allocations: 60.25 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.9595, allocations: 115 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.9595, allocations: 26.67 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.304e-05/0.9595, allocations: 81.56 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.9596, allocations: 13.27 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.9596, allocations: 12.7 kB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.9596, allocations: 312.7 kB / 1.274 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.9596, allocations: 2.156 kB / 1.274 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-06/0.9597, allocations: 6.328 kB / 1.274 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/0.9597, allocations: 13.66 kB / 1.274 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9597, allocations: 0.8438 kB / 1.274 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.501e-05/0.9597, allocations: 38.16 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.9598, allocations: 11.83 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9598, allocations: 0 / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.9598, allocations: 0.875 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.791e-05/0.9598, allocations: 2.234 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.9598, allocations: 5.016 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.9598, allocations: 4.875 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.9598, allocations: 0.8125 kB / 1.275 GB, free: 4.973 MB / 0.9981 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 5.056e-05/0.9599, allocations: 113.9 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.9599, allocations: 10.11 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.678e-05/0.96, allocations: 46.89 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.96, allocations: 0 / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.96, allocations: 0.7812 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.96, allocations: 0.5469 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.205e-05/0.9601, allocations: 160.2 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.9601, allocations: 0 / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.9601, allocations: 2.156 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.9601, allocations: 4.75 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.9601, allocations: 0.7188 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.9601, allocations: 0.5156 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9601, allocations: 4.828 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.784e-05/0.9602, allocations: 67.17 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.9602, allocations: 83.78 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.9602, allocations: 4.688 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-06/0.9602, allocations: 0 / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.9602, allocations: 5.078 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.9602, allocations: 1.281 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.9603, allocations: 95.08 kB / 1.275 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9603, allocations: 0 / 1.275 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002112/0.9605, allocations: 4.125 kB / 1.275 GB, free: 4.336 MB / 0.9981 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.0003356/0.9608, allocations: 0.6155 MB / 1.276 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.99e-05/0.9609, allocations: 5.953 kB / 1.276 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.9609, allocations: 4.094 kB / 1.276 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.9609, allocations: 6.906 kB / 1.276 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.9611, allocations: 2.812 kB / 1.276 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.9618, allocations: 1.119 MB / 1.277 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.9621, allocations: 0.6771 MB / 1.277 GB, free: 17.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.297e-05/0.9622, allocations: 4.969 kB / 1.278 GB, free: 17.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.9622, allocations: 14.48 kB / 1.278 GB, free: 17.9 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.9622, allocations: 0 / 1.278 GB, free: 17.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.9852, allocations: 1.388 MB / 1.279 GB, free: 17.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.953, allocations: 10.61 kB / 1.279 GB, free: 17.49 MB / 1.014 GB " [Timeout remaining time 291] (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) [Timeout 420.0] 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[Calling sys.exit(0), Time elapsed: 14.829946657002438]