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.513/2.513, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001068/0.001068, allocations: 163.4 kB / 498.1 MB, free: 5.684 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.547/1.547, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001047/0.001047, allocations: 98.55 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 11.44 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3203, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.525, allocations: 149.8 MB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5254, allocations: 83.94 kB / 1.369 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007884/0.5333, allocations: 2.755 MB / 1.372 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5333, allocations: 0 / 1.372 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.5333, allocations: 0 / 1.372 GB, free: 9.234 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.0004762/0.5338, allocations: 347.2 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5339, allocations: 8.031 kB / 1.372 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.5339, allocations: 34.56 kB / 1.372 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.534, allocations: 4 kB / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.5341, allocations: 179 kB / 1.373 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.5342, allocations: 4 kB / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.5342, allocations: 0 / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.5343, allocations: 68.19 kB / 1.373 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5343, allocations: 0 / 1.373 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.5344, allocations: 7.984 kB / 1.373 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5344, allocations: 4 kB / 1.373 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.206e-05/0.5344, allocations: 8 kB / 1.373 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.5348, allocations: 268.8 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.535, allocations: 42.5 kB / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.535, allocations: 0 / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.5352, allocations: 63.48 kB / 1.373 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.5352, allocations: 0 / 1.373 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002333/0.5354, allocations: 73.67 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.5355, allocations: 106.8 kB / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.5356, allocations: 104.9 kB / 1.373 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.5356, allocations: 25.7 kB / 1.373 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.5357, allocations: 88.12 kB / 1.373 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.5357, allocations: 11.81 kB / 1.373 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.5357, allocations: 0 / 1.373 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5359, allocations: 314.8 kB / 1.374 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-05/0.5359, allocations: 19.98 kB / 1.374 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/0.536, allocations: 26.58 kB / 1.374 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.536, allocations: 8 kB / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.536, allocations: 0 / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000112/0.5361, allocations: 61.69 kB / 1.374 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5362, allocations: 4 kB / 1.374 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5362, allocations: 3.938 kB / 1.374 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.5362, allocations: 4 kB / 1.374 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.5363, allocations: 7.984 kB / 1.374 GB, free: 7.121 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5363, allocations: 4.031 kB / 1.374 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.5364, allocations: 15.94 kB / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.5364, allocations: 3.938 kB / 1.374 GB, free: 7.098 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 0.0001018/0.5365, allocations: 114.5 kB / 1.374 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.5366, allocations: 4.438 kB / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.5366, allocations: 3.5 kB / 1.374 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5366, allocations: 0 / 1.374 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5366, allocations: 4 kB / 1.374 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5366, allocations: 0 / 1.374 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.5368, allocations: 185.5 kB / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5368, allocations: 0 / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.5368, allocations: 4 kB / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5368, allocations: 0 / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.5368, allocations: 0 / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5368, allocations: 0 / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5369, allocations: 4 kB / 1.374 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.537, allocations: 97 kB / 1.374 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.5371, allocations: 89.09 kB / 1.374 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.5371, allocations: 0 / 1.374 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.5372, allocations: 11.98 kB / 1.374 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.5373, allocations: 4.172 kB / 1.374 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.5373, allocations: 4 kB / 1.374 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.333e-05/0.5374, allocations: 87.27 kB / 1.374 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5374, allocations: 0 / 1.374 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001966/0.5376, allocations: 19.94 kB / 1.374 GB, free: 6.379 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.0005132/0.5381, allocations: 0.6433 MB / 1.375 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.5382, allocations: 27.98 kB / 1.375 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5382, allocations: 4 kB / 1.375 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.5383, allocations: 12 kB / 1.375 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.5384, allocations: 4 kB / 1.375 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/0.5391, allocations: 398.5 kB / 1.376 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.5395, allocations: 0.681 MB / 1.376 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.184e-05/0.5395, allocations: 11.94 kB / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.5395, allocations: 11.44 kB / 1.376 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.5396, allocations: 0 / 1.376 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.5541, allocations: 1.496 MB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/0.5545, allocations: 201.3 kB / 1.378 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.166, allocations: 0.75 kB / 1.378 GB, free: 2.93 MB / 0.8698 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