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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001432/0.001432, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.344/1.344, allocations: 225.6 MB / 249.3 MB, free: 3.344 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.527/2.527, allocations: 476.7 MB / 0.7628 GB, free: 15.17 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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 67.89 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7682, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002239/0.7704, allocations: 1.518 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.7716, allocations: 1.168 MB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.7717, allocations: 0.8125 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.7718, allocations: 18.5 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.772, allocations: 42.75 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.7721, allocations: 67.2 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.7723, allocations: 148.9 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.7724, allocations: 32.03 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.7725, allocations: 83.72 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.7727, allocations: 59.94 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/0.7727, allocations: 14.84 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.546e-05/0.7728, allocations: 27.62 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.7729, allocations: 52.58 kB / 1.275 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.818e-05/0.7729, allocations: 74.17 kB / 1.275 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.7732, allocations: 202 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7732, allocations: 0.9688 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7732, allocations: 0 / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.7732, allocations: 0 / 1.275 GB, free: 5.484 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005361/0.7737, allocations: 497.8 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.7738, allocations: 10.23 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.7738, allocations: 42.16 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.7739, allocations: 25.55 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.7741, allocations: 255.4 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.7742, allocations: 116.7 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.7742, allocations: 7.875 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.7745, allocations: 160.9 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.7745, allocations: 0 / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.7745, allocations: 1.969 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.7746, allocations: 9.094 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/0.7746, allocations: 54.75 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009131/0.7756, allocations: 458.5 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.836e-05/0.7756, allocations: 36.98 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.7757, allocations: 20.56 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.7757, allocations: 5.047 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.7757, allocations: 35.59 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.7757, allocations: 1.031 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0002396/0.7759, allocations: 110.7 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.776, allocations: 57.83 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.7761, allocations: 217.2 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.7762, allocations: 35.48 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.7762, allocations: 123 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.7762, allocations: 27.81 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.7763, allocations: 29.67 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.7763, allocations: 328.3 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-05/0.7764, allocations: 23.95 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.7764, allocations: 102.6 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.7765, allocations: 137.5 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7766, allocations: 4.781 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002189/0.7768, allocations: 152.4 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.7768, allocations: 8.062 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.7768, allocations: 6.906 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.7768, allocations: 3.938 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.7769, allocations: 33.28 kB / 1.278 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.7769, allocations: 7.766 kB / 1.278 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.777, allocations: 9.828 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.777, allocations: 10.56 kB / 1.278 GB, free: 2.996 MB / 0.9981 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 8.475e-05/0.7771, allocations: 149.6 kB / 1.278 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.7771, allocations: 21.92 kB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.7773, allocations: 106.4 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7773, allocations: 4.953 kB / 1.278 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7773, allocations: 4.75 kB / 1.278 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7773, allocations: 4 kB / 1.278 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.7775, allocations: 233.9 kB / 1.278 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7775, allocations: 1.031 kB / 1.278 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.7775, allocations: 14.84 kB / 1.278 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.7775, allocations: 1.562 kB / 1.278 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.7775, allocations: 1.703 kB / 1.278 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7775, allocations: 0.7188 kB / 1.278 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7775, allocations: 4.781 kB / 1.278 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.7777, allocations: 193.5 kB / 1.278 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.7777, allocations: 88.7 kB / 1.279 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.7777, allocations: 4.969 kB / 1.279 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.778, allocations: 23.28 kB / 1.279 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.778, allocations: 10.59 kB / 1.279 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.778, allocations: 13.25 kB / 1.279 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001112/0.7781, allocations: 159.6 kB / 1.279 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7781, allocations: 0 / 1.279 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002797/0.7784, allocations: 33.44 kB / 1.279 GB, free: 2.176 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 (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.0004061/0.7788, allocations: 0.749 MB / 1.28 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.779, allocations: 69.56 kB / 1.28 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.779, allocations: 0.9688 kB / 1.28 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.779, allocations: 26.58 kB / 1.28 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.7793, allocations: 23.86 kB / 1.28 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.7808, allocations: 1.929 MB / 1.282 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.7811, allocations: 0.7328 MB / 1.282 GB, free: 15.15 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.7812, allocations: 55.47 kB / 1.282 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.7813, allocations: 48.25 kB / 1.282 GB, free: 15.11 MB / 1.014 GB Notification: Performance of SimCode: time 2.61e-07/0.7813, allocations: 0.75 kB / 1.282 GB, free: 15.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.8085, allocations: 4.228 MB / 1.286 GB, free: 14.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/8.031, allocations: 6.406 kB / 1.286 GB, free: 14.52 MB / 1.014 GB " [Timeout remaining time 292] (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) [Timeout 420.0] 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[Calling sys.exit(0), Time elapsed: 13.354605878999791]