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.25/2.25, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001158/0.001158, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0009875/0.0009873, allocations: 103.8 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.067e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2379, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8168/1.055, allocations: 150.6 MB / 1.366 GB, free: 3.453 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.055, allocations: 82.23 kB / 1.366 GB, free: 3.406 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007413/1.062, allocations: 2.727 MB / 1.369 GB, free: 1.109 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.143e-06/1.062, allocations: 0 / 1.369 GB, free: 1.109 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.142e-06/1.062, allocations: 0 / 1.369 GB, free: 1.109 MB / 0.823 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.0003625/1.063, allocations: 342.2 kB / 1.369 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.063, allocations: 8.031 kB / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.099e-05/1.063, allocations: 41.92 kB / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/1.063, allocations: 5.656 kB / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/1.063, allocations: 166.9 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/1.063, allocations: 4 kB / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/1.063, allocations: 0 / 1.369 GB, free: 480 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/1.063, allocations: 79.86 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/1.063, allocations: 0 / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.063, allocations: 0 / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/1.063, allocations: 0 / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.439e-05/1.063, allocations: 15.25 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/1.064, allocations: 266.8 kB / 1.37 GB, free: 76 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/1.064, allocations: 41.83 kB / 1.37 GB, free: 32 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/1.064, allocations: 24.25 kB / 1.37 GB, free: 8 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/1.064, allocations: 0 / 1.37 GB, free: 8 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/1.064, allocations: 62.09 kB / 1.37 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/1.064, allocations: 0 / 1.37 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001852/1.064, allocations: 60.67 kB / 1.37 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/1.064, allocations: 106.8 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/1.065, allocations: 100.4 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/1.065, allocations: 29.2 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/1.065, allocations: 84.12 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/1.065, allocations: 23.05 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/1.065, allocations: 0 / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.065, allocations: 311.4 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/1.065, allocations: 11.56 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.798e-05/1.065, allocations: 41.38 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/1.065, allocations: 11.5 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/1.065, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.367e-05/1.065, allocations: 52.62 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/1.065, allocations: 8 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.065, allocations: 0 / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/1.065, allocations: 0 / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/1.065, allocations: 4 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/1.065, allocations: 4 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/1.065, allocations: 19.22 kB / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/1.065, allocations: 4 kB / 1.371 GB, free: 15.06 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.614e-05/1.065, allocations: 104.9 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/1.065, allocations: 7.906 kB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/1.065, allocations: 10.48 kB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.065, allocations: 0 / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.065, allocations: 7.938 kB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.065, allocations: 0 / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/1.066, allocations: 163.9 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.066, allocations: 8.438 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/1.066, allocations: 0 / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/1.066, allocations: 0 / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.066, allocations: 11.98 kB / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.066, allocations: 0 / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.066, allocations: 0 / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/1.066, allocations: 91.23 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/1.066, allocations: 89 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/1.066, allocations: 7.938 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/1.066, allocations: 11.98 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/1.066, allocations: 11.92 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/1.066, allocations: 3.875 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.331e-05/1.066, allocations: 83.28 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.61e-07/1.066, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001863/1.066, allocations: 11.06 kB / 1.371 GB, free: 14.38 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.000431/1.067, allocations: 0.6306 MB / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001072/1.067, allocations: 34.42 kB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.067, allocations: 0 / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/1.067, allocations: 15.88 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/1.067, allocations: 1.781 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/1.067, allocations: 110.6 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/1.068, allocations: 0.6855 MB / 1.373 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.548e-05/1.068, allocations: 4 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/1.068, allocations: 10.69 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.068, allocations: 4 kB / 1.373 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/1.08, allocations: 1.507 MB / 1.374 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/1.08, allocations: 182.2 kB / 1.374 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.622, allocations: 0 / 1.374 GB, free: 11.29 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