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.374/2.374, allocations: 390.5 MB / 398 MB, free: 10.9 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.001216/0.001216, allocations: 176.8 kB / 491.2 MB, free: 1.551 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.592/1.592, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0008964/0.0008963, allocations: 95.52 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.567e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2499, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9184/1.168, allocations: 149.9 MB / 1.359 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/1.169, allocations: 78.42 kB / 1.359 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007575/1.176, allocations: 2.72 MB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.204e-06/1.176, allocations: 2.625 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.981e-06/1.176, allocations: 0 / 1.362 GB, free: 32.84 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.0003283/1.177, allocations: 342.4 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.177, allocations: 7.656 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/1.177, allocations: 10.5 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/1.177, allocations: 163.7 kB / 1.362 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.177, allocations: 3.875 kB / 1.362 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/1.177, allocations: 3.938 kB / 1.362 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.766e-05/1.177, allocations: 17.09 kB / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/1.177, allocations: 73.64 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/1.177, allocations: 3.984 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/1.177, allocations: 0 / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.177, allocations: 4 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/1.178, allocations: 238.1 kB / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.518e-05/1.178, allocations: 33.23 kB / 1.362 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/1.178, allocations: 24.14 kB / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/1.178, allocations: 1.219 kB / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/1.178, allocations: 60.69 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/1.178, allocations: 0 / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001705/1.178, allocations: 54.31 kB / 1.363 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/1.178, allocations: 106.6 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/1.178, allocations: 93.97 kB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/1.178, allocations: 34.91 kB / 1.363 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/1.178, allocations: 87.36 kB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/1.178, allocations: 9.109 kB / 1.363 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/1.178, allocations: 0 / 1.363 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/1.178, allocations: 323.7 kB / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/1.178, allocations: 11.72 kB / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/1.178, allocations: 28.45 kB / 1.363 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/1.178, allocations: 16.22 kB / 1.363 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.178, allocations: 0 / 1.363 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.373e-05/1.179, allocations: 51.53 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.179, allocations: 3.969 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.179, allocations: 3.875 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.179, allocations: 0 / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/1.179, allocations: 5.625 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/1.179, allocations: 0 / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.495e-05/1.179, allocations: 10.75 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/1.179, allocations: 4 kB / 1.363 GB, free: 31.12 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 7.795e-05/1.179, allocations: 114.3 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.152e-05/1.179, allocations: 60.84 kB / 1.363 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/1.179, allocations: 7.219 kB / 1.363 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/1.179, allocations: 5.391 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.179, allocations: 3.938 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.179, allocations: 0 / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.179, allocations: 5.5 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.228e-05/1.179, allocations: 149.5 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/1.179, allocations: 4.438 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/1.179, allocations: 7.781 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.179, allocations: 0 / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/1.179, allocations: 5.641 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.179, allocations: 0 / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.179, allocations: 0 / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/1.179, allocations: 92.97 kB / 1.364 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/1.179, allocations: 87.34 kB / 1.364 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/1.179, allocations: 1.828 kB / 1.364 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/1.179, allocations: 14.41 kB / 1.364 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/1.18, allocations: 5.484 kB / 1.364 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/1.18, allocations: 5.344 kB / 1.364 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.49e-05/1.18, allocations: 82.72 kB / 1.364 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.18, allocations: 0 / 1.364 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001823/1.18, allocations: 7.719 kB / 1.364 GB, free: 30.54 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.0003767/1.18, allocations: 0.6326 MB / 1.365 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.717e-05/1.18, allocations: 25.34 kB / 1.365 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.18, allocations: 0 / 1.365 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/1.18, allocations: 15.38 kB / 1.365 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/1.18, allocations: 0 / 1.365 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/1.181, allocations: 101.1 kB / 1.365 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/1.181, allocations: 0.6863 MB / 1.365 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.912e-05/1.181, allocations: 9.234 kB / 1.365 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/1.181, allocations: 11.19 kB / 1.365 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.181, allocations: 3.938 kB / 1.365 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/1.201, allocations: 1.152 MB / 1.367 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.201, allocations: 180.6 kB / 1.367 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.65, allocations: 3.781 kB / 1.367 GB, free: 28.85 MB / 0.8386 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