Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_10_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.004072/0.004072, allocations: 101 kB / 15.73 MB, free: 6.043 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.001135/0.001135, allocations: 201.5 kB / 16.68 MB, free: 5.965 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.345/2.345, allocations: 437.1 MB / 0.7106 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2449, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002412/0.2473, allocations: 1.482 MB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2487, allocations: 1.119 MB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.2487, allocations: 0 / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2489, allocations: 23.86 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.249, allocations: 43.77 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.2492, allocations: 51.17 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.2494, allocations: 151.5 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2495, allocations: 65.06 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.2496, allocations: 83.75 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.2498, allocations: 43.78 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.2498, allocations: 12 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.826e-05/0.2499, allocations: 28 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.25, allocations: 55.75 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.2501, allocations: 79.58 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.2503, allocations: 203.5 kB / 1.17 GB, free: 3.891 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.2503, allocations: 0 / 1.17 GB, free: 3.891 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2503, allocations: 0 / 1.17 GB, free: 3.891 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2504, allocations: 0 / 1.17 GB, free: 3.891 MB / 0.92 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.0006276/0.251, allocations: 0.4906 MB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.251, allocations: 8.031 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.2511, allocations: 46.72 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.2511, allocations: 24.8 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.2514, allocations: 256 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.2515, allocations: 111.4 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.2516, allocations: 4.375 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.2519, allocations: 165.5 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2519, allocations: 0 / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2519, allocations: 4 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.2519, allocations: 15.92 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.953e-05/0.252, allocations: 47.91 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009099/0.2529, allocations: 448.5 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.524e-05/0.253, allocations: 38.52 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.2531, allocations: 28.84 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.2531, allocations: 4.141 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.2531, allocations: 38.55 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.2531, allocations: 0 / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0002324/0.2534, allocations: 105.5 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.2534, allocations: 55.34 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.2536, allocations: 231.8 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.2537, allocations: 29.7 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.2537, allocations: 116.1 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.2538, allocations: 27.75 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.2538, allocations: 37.64 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.254, allocations: 322.8 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.254, allocations: 35.97 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.2541, allocations: 102.2 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.2543, allocations: 146.1 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2543, allocations: 0 / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002206/0.2545, allocations: 149.3 kB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2545, allocations: 8 kB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2546, allocations: 0 / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2546, allocations: 4.375 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.2547, allocations: 31.92 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2547, allocations: 7.938 kB / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.749e-05/0.2547, allocations: 11.94 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2548, allocations: 8 kB / 1.173 GB, free: 464 kB / 0.92 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.0001149/0.2549, allocations: 147.7 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.2549, allocations: 19.86 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.2551, allocations: 107 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.2551, allocations: 0 / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2552, allocations: 11.88 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2552, allocations: 0 / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.2554, allocations: 233.5 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2554, allocations: 4 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.2555, allocations: 8 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2555, allocations: 4 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.2555, allocations: 4 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2555, allocations: 0 / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2555, allocations: 11.81 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.2557, allocations: 191.8 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.2557, allocations: 93 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2558, allocations: 4 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.256, allocations: 15.98 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.256, allocations: 11.91 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.2561, allocations: 11.98 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001369/0.2562, allocations: 160.2 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2562, allocations: 0 / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002698/0.2565, allocations: 39.89 kB / 1.174 GB, free: 15.3 MB / 0.9356 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.000555/0.257, allocations: 0.7506 MB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.2572, allocations: 71.84 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2572, allocations: 3.984 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.2573, allocations: 20 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.2575, allocations: 23.92 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.2593, allocations: 1.923 MB / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.2596, allocations: 0.7352 MB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.2597, allocations: 52.84 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/0.2598, allocations: 47.41 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2598, allocations: 0 / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.382/1.642, allocations: 4.23 MB / 1.181 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/13.66, allocations: 13.73 kB / 1.181 GB, free: 7.363 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat does not exist to compare? outputFormat=mat