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.007179/0.007179, allocations: 100.6 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 189.8 kB / 16.67 MB, free: 5.938 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.46/2.46, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6434/0.6451, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002471/0.6476, allocations: 1.486 MB / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.649, allocations: 1.106 MB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.6491, allocations: 0 / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.6492, allocations: 15.86 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.6494, allocations: 39.78 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.6495, allocations: 56.41 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.6497, allocations: 147.6 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.6499, allocations: 72.97 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.65, allocations: 75.77 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.6501, allocations: 63.69 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.6502, allocations: 15.94 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.6502, allocations: 24 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.6503, allocations: 51.88 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.622e-05/0.6504, allocations: 75.52 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.6506, allocations: 202.9 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.6507, allocations: 0 / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6507, allocations: 0 / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.6507, allocations: 0 / 1.223 GB, free: 14.62 MB / 0.9512 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.0006368/0.6513, allocations: 498.5 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.6513, allocations: 8.031 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.6514, allocations: 42.73 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.6515, allocations: 24.8 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.6517, allocations: 256 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.6519, allocations: 119.4 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.6519, allocations: 4.375 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.6522, allocations: 161.5 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.6522, allocations: 0 / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.6523, allocations: 4 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.6523, allocations: 11.98 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.997e-05/0.6524, allocations: 39.92 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009306/0.6533, allocations: 468.4 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.348e-05/0.6534, allocations: 34.52 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.6534, allocations: 24.84 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.6535, allocations: 7.984 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.6535, allocations: 34.56 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.6535, allocations: 0 / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.000241/0.6537, allocations: 113.8 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.6538, allocations: 59.28 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.654, allocations: 215.8 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.654, allocations: 25.7 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.6541, allocations: 132.3 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.6542, allocations: 27.75 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.6542, allocations: 29.7 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6543, allocations: 326.8 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/0.6544, allocations: 35.97 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.6545, allocations: 94.3 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.6547, allocations: 142.1 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.6547, allocations: 7.984 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002294/0.6549, allocations: 149.6 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.655, allocations: 12.06 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.655, allocations: 3.938 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.655, allocations: 4 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.6551, allocations: 23.98 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6551, allocations: 11.88 kB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.6551, allocations: 7.953 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.6552, allocations: 8 kB / 1.227 GB, free: 11.18 MB / 0.9512 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.0001178/0.6553, allocations: 153.3 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.6553, allocations: 19.91 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.6555, allocations: 111.2 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6556, allocations: 0 / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6556, allocations: 7.922 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.6556, allocations: 0 / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.6558, allocations: 233.5 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.6558, allocations: 0 / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.6559, allocations: 15.98 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.6559, allocations: 0 / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.6559, allocations: 4 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6559, allocations: 0 / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6559, allocations: 7.938 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.6561, allocations: 191.3 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.6562, allocations: 89.05 kB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.6562, allocations: 4 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.6564, allocations: 15.92 kB / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.6564, allocations: 15.92 kB / 1.227 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.6565, allocations: 15.98 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001389/0.6566, allocations: 161.5 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6566, allocations: 4 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002669/0.6569, allocations: 23.95 kB / 1.228 GB, free: 10.02 MB / 0.9512 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.0005634/0.6575, allocations: 0.7516 MB / 1.228 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.6576, allocations: 67.84 kB / 1.228 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6576, allocations: 0 / 1.228 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.6577, allocations: 28.73 kB / 1.228 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.6579, allocations: 30.16 kB / 1.228 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.6598, allocations: 1.917 MB / 1.23 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.6601, allocations: 0.7314 MB / 1.231 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.6602, allocations: 60.83 kB / 1.231 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.6603, allocations: 47.41 kB / 1.231 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.6603, allocations: 0 / 1.231 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.622/2.282, allocations: 4.224 MB / 1.235 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/14.99, allocations: 12.66 kB / 1.235 GB, free: 2.086 MB / 0.9512 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