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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005118/0.005118, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001452/0.001452, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.494/2.494, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 67.83 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.261, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002268/0.2634, allocations: 1.376 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001428/0.2635, allocations: 39.81 kB / 1.222 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.2635, allocations: 0 / 1.222 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.2637, allocations: 11.94 kB / 1.222 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2638, allocations: 15.92 kB / 1.222 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.2638, allocations: 0 / 1.222 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.152e-05/0.2639, allocations: 15.92 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.2639, allocations: 11.98 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.2639, allocations: 11.94 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.264, allocations: 0 / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.264, allocations: 7.938 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.211e-05/0.2641, allocations: 15.94 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.2641, allocations: 3.984 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.2641, allocations: 11.92 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.907e-05/0.2642, allocations: 31.84 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2642, allocations: 0 / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2642, allocations: 0 / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.2642, allocations: 0 / 1.222 GB, free: 12.79 MB / 0.9825 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.0003213/0.2646, allocations: 339.4 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.2646, allocations: 12.03 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.2646, allocations: 30.75 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.2647, allocations: 0.9375 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.2648, allocations: 172.3 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2648, allocations: 8.344 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.902e-06/0.2649, allocations: 4.375 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.625e-05/0.2649, allocations: 34.2 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2649, allocations: 3.938 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.265, allocations: 4 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.265, allocations: 7.938 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.79e-05/0.265, allocations: 7.922 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.2652, allocations: 153.7 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.399e-05/0.2652, allocations: 18.61 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.2652, allocations: 4.859 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.2652, allocations: 0 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2653, allocations: 42.62 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.2653, allocations: 0 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001151/0.2654, allocations: 41.58 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.2654, allocations: 55.39 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.2655, allocations: 113.8 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.2656, allocations: 25.7 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.2656, allocations: 84.14 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.2656, allocations: 12.02 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.2657, allocations: 13.72 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2658, allocations: 314.8 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.2658, allocations: 7.984 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.2658, allocations: 0 / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.2658, allocations: 12.8 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2658, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.027e-05/0.2659, allocations: 37.7 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2659, allocations: 12.03 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2659, allocations: 4 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.266, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.708e-05/0.266, allocations: 3.984 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.266, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.078e-05/0.266, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.266, allocations: 4 kB / 1.223 GB, free: 11 MB / 0.9825 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 6.446e-05/0.2661, allocations: 106.4 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.2661, allocations: 11.89 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.526e-05/0.2662, allocations: 49.16 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2662, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2662, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2662, allocations: 4 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.2663, allocations: 157.6 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2663, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.2664, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.2664, allocations: 11.88 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.2664, allocations: 3.984 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.2664, allocations: 4 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2664, allocations: 4.031 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.395e-05/0.2665, allocations: 61.08 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.2665, allocations: 81.06 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2665, allocations: 7.922 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/0.2665, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-06/0.2666, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2666, allocations: 4 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.2666, allocations: 95.31 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2666, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001704/0.2668, allocations: 7.984 kB / 1.224 GB, free: 10.3 MB / 0.9825 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.0004231/0.2672, allocations: 0.6127 MB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.791e-05/0.2673, allocations: 7.938 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2673, allocations: 0 / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.298e-06/0.2673, allocations: 4 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.2675, allocations: 4 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.2684, allocations: 1.122 MB / 1.225 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.2686, allocations: 0.6846 MB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.2687, allocations: 7.938 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.2687, allocations: 11.44 kB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.2687, allocations: 3.938 kB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.906/2.175, allocations: 1.401 MB / 1.228 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.275/11.45, allocations: 2.766 kB / 1.228 GB, free: 6.406 MB / 0.9825 GB (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) 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