Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.447/2.447, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001166/0.001166, allocations: 183.6 kB / 0.4901 GB, free: 2.25 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.543/1.543, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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: 102.4 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 7.188 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3008, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2476/0.5485, allocations: 150.7 MB / 1.376 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.5488, allocations: 79.95 kB / 1.377 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008099/0.557, allocations: 2.765 MB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.575e-06/0.557, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.557, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 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.0005052/0.5575, allocations: 355.2 kB / 1.38 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.5576, allocations: 12.56 kB / 1.38 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.343e-05/0.5577, allocations: 34.5 kB / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.5577, allocations: 4 kB / 1.38 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.5579, allocations: 167 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.5579, allocations: 4 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.5579, allocations: 0 / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.5581, allocations: 72.25 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.5581, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.5581, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5581, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.806e-05/0.5582, allocations: 15.94 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.5586, allocations: 264.9 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.5587, allocations: 42.56 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.5588, allocations: 0 / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.559, allocations: 67.42 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.559, allocations: 0 / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002287/0.5592, allocations: 73.58 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.5593, allocations: 110.8 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.5594, allocations: 93 kB / 1.381 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.5594, allocations: 29.7 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.5595, allocations: 96.06 kB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.5595, allocations: 3.906 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.5595, allocations: 0 / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.5596, allocations: 318.8 kB / 1.381 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.5597, allocations: 8 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.034e-05/0.5597, allocations: 34.69 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.5598, allocations: 16.03 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5598, allocations: 0 / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001071/0.5599, allocations: 57.59 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5599, allocations: 8 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.5599, allocations: 4.375 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.56, allocations: 7.922 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.56, allocations: 11.98 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5601, allocations: 0 / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.5602, allocations: 19.94 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.5602, allocations: 8 kB / 1.381 GB, free: 13.75 MB / 0.8855 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.0001061/0.5603, allocations: 118.6 kB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.5603, allocations: 0 / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.5603, allocations: 3.5 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5604, allocations: 4 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5604, allocations: 0 / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5604, allocations: 0 / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.5605, allocations: 173.6 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5605, allocations: 0 / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.5606, allocations: 0 / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.5606, allocations: 8 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.5606, allocations: 0 / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5606, allocations: 0 / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5606, allocations: 0 / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.5608, allocations: 92.97 kB / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.5609, allocations: 85.09 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.5609, allocations: 3.938 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.561, allocations: 19.98 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.561, allocations: 4 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.5611, allocations: 0 / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.5611, allocations: 87.27 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5611, allocations: 0 / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001996/0.5613, allocations: 12 kB / 1.382 GB, free: 13.06 MB / 0.8855 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.0004653/0.5618, allocations: 0.6328 MB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.5619, allocations: 31.92 kB / 1.382 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5619, allocations: 0 / 1.382 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.283e-05/0.562, allocations: 16 kB / 1.382 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.5621, allocations: 4 kB / 1.382 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007126/0.5628, allocations: 410.3 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.5631, allocations: 0.6848 MB / 1.383 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.5632, allocations: 4 kB / 1.383 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.5632, allocations: 15.44 kB / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.5632, allocations: 0 / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.5758, allocations: 1.52 MB / 1.385 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.576, allocations: 225.8 kB / 1.385 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.279, allocations: 4 kB / 1.385 GB, free: 9.617 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat does not exist to compare? outputFormat=mat