Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.0009719/0.0009719, allocations: 172.9 kB / 492.3 MB, free: 0.6445 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.39/1.39, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009564/0.0009564, allocations: 99.83 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.866e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2645, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8681/1.133, allocations: 149.8 MB / 1.359 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/1.133, allocations: 83.12 kB / 1.359 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007458/1.14, allocations: 2.732 MB / 1.362 GB, free: 34.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.074e-06/1.14, allocations: 4 kB / 1.362 GB, free: 34.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.14, allocations: 0 / 1.362 GB, free: 34.53 MB / 0.8386 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.0002909/1.141, allocations: 343.7 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.141, allocations: 8.891 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/1.141, allocations: 30.56 kB / 1.362 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/1.141, allocations: 10.52 kB / 1.362 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/1.141, allocations: 174.1 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/1.141, allocations: 0 / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/1.141, allocations: 6.891 kB / 1.362 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/1.141, allocations: 63.73 kB / 1.362 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/1.141, allocations: 3.938 kB / 1.362 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/1.141, allocations: 1.641 kB / 1.362 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.141, allocations: 3.812 kB / 1.362 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/1.141, allocations: 12.25 kB / 1.362 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/1.142, allocations: 262.2 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.599e-05/1.142, allocations: 37.97 kB / 1.362 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/1.142, allocations: 16.17 kB / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/1.142, allocations: 0 / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/1.142, allocations: 73.19 kB / 1.363 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.142, allocations: 0 / 1.363 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001608/1.142, allocations: 66.17 kB / 1.363 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.142, allocations: 102.8 kB / 1.363 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.419e-05/1.142, allocations: 108.8 kB / 1.363 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/1.142, allocations: 25.7 kB / 1.363 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/1.142, allocations: 84.05 kB / 1.363 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/1.142, allocations: 17.39 kB / 1.363 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/1.142, allocations: 0 / 1.363 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 5.887e-05/1.142, allocations: 313 kB / 1.363 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/1.142, allocations: 19.19 kB / 1.363 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/1.142, allocations: 33.69 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/1.142, allocations: 9.234 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.142, allocations: 0 / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.046e-05/1.142, allocations: 55.89 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.142, allocations: 3.812 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.142, allocations: 3.844 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/1.143, allocations: 0 / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/1.143, allocations: 9.797 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.143, allocations: 7.875 kB / 1.363 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.364e-05/1.143, allocations: 10.58 kB / 1.363 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/1.143, allocations: 11.67 kB / 1.363 GB, free: 32.74 MB / 0.8386 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 () * 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 6.01e-05/1.143, allocations: 102.8 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/1.143, allocations: 7.75 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/1.143, allocations: 7.312 kB / 1.363 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.143, allocations: 0 / 1.363 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.143, allocations: 5.312 kB / 1.363 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.143, allocations: 3.969 kB / 1.363 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.137e-05/1.143, allocations: 163.6 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.143, allocations: 0 / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/1.143, allocations: 3.844 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/1.143, allocations: 0 / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/1.143, allocations: 5.828 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.143, allocations: 0 / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.143, allocations: 0 / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/1.143, allocations: 102.9 kB / 1.364 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/1.143, allocations: 91.3 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/1.143, allocations: 3.969 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/1.143, allocations: 10.72 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/1.143, allocations: 3.141 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/1.143, allocations: 0 / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.69e-05/1.143, allocations: 88.03 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.01e-07/1.143, allocations: 0 / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001833/1.144, allocations: 18.81 kB / 1.364 GB, free: 32.17 MB / 0.8386 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) * 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.0003325/1.144, allocations: 0.623 MB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.395e-05/1.144, allocations: 35.23 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/1.144, allocations: 0 / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.103e-05/1.144, allocations: 10.78 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/1.144, allocations: 7.875 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/1.145, allocations: 108.7 kB / 1.365 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/1.145, allocations: 0.6818 MB / 1.365 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.875e-05/1.145, allocations: 8.203 kB / 1.365 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/1.145, allocations: 12.83 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of SimCode: time 7.31e-07/1.145, allocations: 3.938 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/1.157, allocations: 1.498 MB / 1.367 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/1.158, allocations: 174.7 kB / 1.367 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.679, allocations: 6.25 kB / 1.367 GB, free: 30.36 MB / 0.8386 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat does not exist to compare? outputFormat=mat