Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.245/2.245, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001144/0.001144, allocations: 180.4 kB / 498.1 MB, free: 5.672 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.409/1.409, allocations: 223.2 MB / 0.7948 GB, free: 17.78 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.0009721/0.0009721, allocations: 105.2 kB / 0.9346 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003533, allocations: 13.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2506, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.4358, allocations: 149.9 MB / 1.369 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.4362, allocations: 79.89 kB / 1.369 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007647/0.4438, allocations: 2.762 MB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4439, allocations: 0 / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4439, allocations: 0 / 1.372 GB, free: 9.098 MB / 0.8698 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.0004595/0.4443, allocations: 355.2 kB / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4444, allocations: 8.031 kB / 1.372 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.4445, allocations: 34.56 kB / 1.373 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.4445, allocations: 0 / 1.373 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.4447, allocations: 182.9 kB / 1.373 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.4447, allocations: 0 / 1.373 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.4447, allocations: 0 / 1.373 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.4449, allocations: 76.19 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.4449, allocations: 0 / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.4449, allocations: 7.984 kB / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4449, allocations: 0 / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.916e-05/0.445, allocations: 8 kB / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.4454, allocations: 268.8 kB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.4455, allocations: 42.5 kB / 1.373 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.4455, allocations: 4 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.4457, allocations: 59.48 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.4457, allocations: 0 / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002224/0.4459, allocations: 73.61 kB / 1.373 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.446, allocations: 106.8 kB / 1.373 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.567e-05/0.4461, allocations: 97 kB / 1.373 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4461, allocations: 29.7 kB / 1.373 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.4462, allocations: 84.14 kB / 1.374 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.4462, allocations: 15.8 kB / 1.374 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.4462, allocations: 7.938 kB / 1.374 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.4463, allocations: 310.8 kB / 1.374 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.4464, allocations: 12 kB / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.492e-05/0.4464, allocations: 30.56 kB / 1.374 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.4465, allocations: 8 kB / 1.374 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4465, allocations: 8.031 kB / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001066/0.4466, allocations: 62 kB / 1.374 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4466, allocations: 5.094 kB / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4466, allocations: 0 / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4466, allocations: 4 kB / 1.374 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.4467, allocations: 12.05 kB / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4467, allocations: 0 / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.4468, allocations: 11.95 kB / 1.374 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.4468, allocations: 0 / 1.374 GB, free: 6.961 MB / 0.8698 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 9.867e-05/0.447, allocations: 121.8 kB / 1.374 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.447, allocations: 7.938 kB / 1.374 GB, free: 6.824 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.447, allocations: 3.5 kB / 1.374 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.447, allocations: 0 / 1.374 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.447, allocations: 0 / 1.374 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.447, allocations: 0 / 1.374 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.4472, allocations: 177.5 kB / 1.374 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4472, allocations: 0 / 1.374 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.4472, allocations: 4 kB / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4472, allocations: 0 / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.4472, allocations: 4 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4472, allocations: 0 / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4473, allocations: 7.938 kB / 1.374 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.4474, allocations: 89.06 kB / 1.374 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.4475, allocations: 89.33 kB / 1.374 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.4475, allocations: 0 / 1.374 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.4476, allocations: 8 kB / 1.374 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.4476, allocations: 11.97 kB / 1.374 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4477, allocations: 4 kB / 1.374 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.779e-05/0.4477, allocations: 87.27 kB / 1.375 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4477, allocations: 0 / 1.375 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001936/0.4479, allocations: 19.88 kB / 1.375 GB, free: 6.238 MB / 0.8698 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.0004345/0.4484, allocations: 0.6433 MB / 1.375 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.4485, allocations: 31.98 kB / 1.375 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4485, allocations: 0 / 1.375 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.4485, allocations: 15.94 kB / 1.375 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.4487, allocations: 4 kB / 1.375 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/0.4494, allocations: 400.6 kB / 1.376 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.4496, allocations: 0.6848 MB / 1.376 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.668e-05/0.4497, allocations: 4 kB / 1.376 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.4497, allocations: 11.53 kB / 1.376 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of SimCode: time 4.299e-06/0.4497, allocations: 3.938 kB / 1.376 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.4626, allocations: 1.502 MB / 1.378 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.4628, allocations: 222.8 kB / 1.378 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.177, allocations: 1.547 kB / 1.378 GB, free: 2.809 MB / 0.8698 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat does not exist to compare? outputFormat=mat