Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.47/2.47, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001386/0.001386, allocations: 179.9 kB / 0.4901 GB, free: 2.238 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.65/1.65, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.001211/0.001211, allocations: 97.5 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003774, allocations: 12.17 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3281, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/0.5677, allocations: 150.6 MB / 1.376 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/0.5681, allocations: 83.92 kB / 1.376 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.008243/0.5764, allocations: 2.745 MB / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.386e-06/0.5764, allocations: 0 / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.5765, allocations: 4 kB / 1.379 GB, free: 11.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005767/0.577, allocations: 355.2 kB / 1.379 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.5771, allocations: 8.031 kB / 1.379 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.5772, allocations: 34.56 kB / 1.38 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.5772, allocations: 7.984 kB / 1.38 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.5774, allocations: 167 kB / 1.38 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.5775, allocations: 4 kB / 1.38 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.5775, allocations: 0 / 1.38 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.5777, allocations: 72.19 kB / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.5777, allocations: 4 kB / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.5777, allocations: 4 kB / 1.38 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5777, allocations: 0 / 1.38 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.716e-05/0.5778, allocations: 15.98 kB / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.5782, allocations: 256.9 kB / 1.38 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.5784, allocations: 42.5 kB / 1.38 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.5784, allocations: 7.984 kB / 1.38 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.5786, allocations: 63.39 kB / 1.38 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.5786, allocations: 0 / 1.38 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002428/0.5789, allocations: 81.61 kB / 1.38 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.579, allocations: 106.8 kB / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.579, allocations: 96.98 kB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.5791, allocations: 29.7 kB / 1.38 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.5791, allocations: 84.14 kB / 1.381 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.5792, allocations: 11.91 kB / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-06/0.5792, allocations: 0 / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.5793, allocations: 318.8 kB / 1.381 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.5794, allocations: 8 kB / 1.381 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.5794, allocations: 38.56 kB / 1.381 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.5795, allocations: 8 kB / 1.381 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5795, allocations: 0 / 1.381 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001243/0.5796, allocations: 69.56 kB / 1.381 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.5797, allocations: 4 kB / 1.381 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5797, allocations: 3.938 kB / 1.381 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.5797, allocations: 0 / 1.381 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.5798, allocations: 8 kB / 1.381 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5798, allocations: 0 / 1.381 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.5799, allocations: 15.94 kB / 1.381 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.5799, allocations: 4 kB / 1.381 GB, free: 9.551 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001041/0.58, allocations: 114.6 kB / 1.381 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.5801, allocations: 0 / 1.381 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.5801, allocations: 11.5 kB / 1.381 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5801, allocations: 0 / 1.381 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.5801, allocations: 3.984 kB / 1.381 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5801, allocations: 0 / 1.381 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.5803, allocations: 169.5 kB / 1.381 GB, free: 9.199 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5803, allocations: 0 / 1.381 GB, free: 9.199 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.5803, allocations: 4.438 kB / 1.381 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5803, allocations: 3.938 kB / 1.381 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.5804, allocations: 8 kB / 1.381 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.5804, allocations: 7.984 kB / 1.381 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5804, allocations: 0 / 1.381 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.5805, allocations: 92.98 kB / 1.381 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.5806, allocations: 81.09 kB / 1.381 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.5807, allocations: 4 kB / 1.381 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.5808, allocations: 7.984 kB / 1.381 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.5808, allocations: 8 kB / 1.381 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.5808, allocations: 7.984 kB / 1.381 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.764e-05/0.5809, allocations: 83.28 kB / 1.382 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5809, allocations: 0 / 1.382 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002164/0.5811, allocations: 12 kB / 1.382 GB, free: 8.848 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005154/0.5817, allocations: 0.6357 MB / 1.382 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.5818, allocations: 28.27 kB / 1.382 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5818, allocations: 0 / 1.382 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.703e-05/0.5819, allocations: 15.94 kB / 1.382 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.582, allocations: 13.61 kB / 1.382 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007589/0.5828, allocations: 410.6 kB / 1.383 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.5831, allocations: 0.6809 MB / 1.383 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.5831, allocations: 7.938 kB / 1.383 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.5832, allocations: 15.42 kB / 1.383 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/0.5832, allocations: 0 / 1.383 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.5984, allocations: 1.492 MB / 1.385 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.5987, allocations: 206 kB / 1.385 GB, free: 5.402 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.167, allocations: 0.5 kB / 1.385 GB, free: 5.402 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat does not exist to compare? outputFormat=mat