Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.394/2.394, allocations: 393.5 MB / 408.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 183.3 kB / 0.4901 GB, free: 2.098 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 223.1 MB / 0.7992 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 106.4 kB / 0.9396 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006254/0.0006249, allocations: 9.375 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2862, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.4574, allocations: 150.4 MB / 1.376 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.4576, allocations: 83.94 kB / 1.376 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.001831/0.4595, allocations: 0.7529 MB / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4595, allocations: 0 / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.4595, allocations: 0 / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002817/0.4598, allocations: 324.3 kB / 1.377 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4598, allocations: 11.97 kB / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.4599, allocations: 34.56 kB / 1.377 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.4599, allocations: 7.906 kB / 1.377 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.46, allocations: 167 kB / 1.377 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.4601, allocations: 0 / 1.377 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.4601, allocations: 7.984 kB / 1.377 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.475e-05/0.4601, allocations: 33.7 kB / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4602, allocations: 3.938 kB / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.4602, allocations: 0 / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.4602, allocations: 4 kB / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.499e-05/0.4602, allocations: 7.938 kB / 1.378 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.4605, allocations: 244.9 kB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.328e-05/0.4605, allocations: 22.58 kB / 1.378 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.4605, allocations: 0 / 1.378 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.4606, allocations: 38.5 kB / 1.378 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.4606, allocations: 0 / 1.378 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.4607, allocations: 45.75 kB / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.4607, allocations: 51.41 kB / 1.378 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.4608, allocations: 92.95 kB / 1.378 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.4608, allocations: 25.7 kB / 1.378 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.4609, allocations: 88.08 kB / 1.378 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.4609, allocations: 11.89 kB / 1.378 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.4609, allocations: 0 / 1.378 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.461, allocations: 315 kB / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.461, allocations: 4 kB / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.461, allocations: 4 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.429e-05/0.4611, allocations: 3.938 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4611, allocations: 0 / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.686e-05/0.4611, allocations: 41.7 kB / 1.378 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4612, allocations: 7.984 kB / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.4612, allocations: 0 / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4612, allocations: 4.094 kB / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.726e-05/0.4612, allocations: 4 kB / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.4612, allocations: 0 / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.4613, allocations: 0 / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4613, allocations: 3.953 kB / 1.378 GB, free: 12.2 MB / 0.8855 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.839e-05/0.4614, allocations: 114.6 kB / 1.379 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.4614, allocations: 3.906 kB / 1.379 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.4614, allocations: 7.125 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4614, allocations: 0 / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4614, allocations: 4 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4614, allocations: 0 / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.4616, allocations: 157.6 kB / 1.379 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4616, allocations: 7.984 kB / 1.379 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.4616, allocations: 7.938 kB / 1.379 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4616, allocations: 0 / 1.379 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.4616, allocations: 0 / 1.379 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.4616, allocations: 4 kB / 1.379 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4616, allocations: 0 / 1.379 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.648e-05/0.4617, allocations: 135.5 kB / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.4618, allocations: 81.28 kB / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-06/0.4618, allocations: 0 / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.32e-05/0.4618, allocations: 3.938 kB / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.4619, allocations: 7.984 kB / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-06/0.4619, allocations: 0 / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.4619, allocations: 83.28 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4619, allocations: 0 / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001961/0.4621, allocations: 4 kB / 1.379 GB, free: 11.5 MB / 0.8855 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003439/0.4625, allocations: 0.6704 MB / 1.38 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.403e-05/0.4625, allocations: 12 kB / 1.38 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4625, allocations: 0 / 1.38 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.015e-05/0.4626, allocations: 7.984 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.4627, allocations: 4.156 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.4632, allocations: 344.4 kB / 1.38 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.4634, allocations: 0.677 MB / 1.381 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.805e-05/0.4634, allocations: 3.984 kB / 1.381 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.4635, allocations: 11.5 kB / 1.381 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.4635, allocations: 4 kB / 1.381 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01022/0.4737, allocations: 0.8662 MB / 1.382 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.4739, allocations: 211.1 kB / 1.382 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.377/1.851, allocations: 0 / 1.382 GB, free: 8.746 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat does not exist to compare? outputFormat=mat