Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.434/2.434, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001519/0.001518, allocations: 184 kB / 0.4901 GB, free: 2.238 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.64/1.64, 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.001063/0.001063, allocations: 108.2 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003836, allocations: 10.25 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3231, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.5164, allocations: 150.7 MB / 1.376 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.5168, allocations: 83.94 kB / 1.377 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008215/0.525, allocations: 2.761 MB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.235e-06/0.5251, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.5251, allocations: 0 / 1.379 GB, free: 15.88 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.0005086/0.5256, allocations: 351.2 kB / 1.38 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.5257, allocations: 12.56 kB / 1.38 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.5257, allocations: 34.56 kB / 1.38 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.5258, allocations: 0 / 1.38 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.526, allocations: 175 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.526, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.526, allocations: 4 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.5262, allocations: 68.25 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5262, allocations: 4 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5262, allocations: 3.984 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.5263, allocations: 0 / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.065e-05/0.5263, allocations: 19.92 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.5268, allocations: 256.9 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.5269, allocations: 38.56 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.5269, allocations: 0 / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.5271, allocations: 67.48 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.5271, allocations: 3.938 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002383/0.5274, allocations: 73.58 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.5274, allocations: 110.8 kB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.5275, allocations: 96.98 kB / 1.381 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.5276, allocations: 25.7 kB / 1.381 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.5276, allocations: 88.08 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.5277, allocations: 15.89 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.5277, allocations: 0 / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5278, allocations: 318.8 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.5279, allocations: 7.984 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.319e-05/0.5279, allocations: 34.56 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.528, allocations: 15.94 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.528, allocations: 0 / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000109/0.5281, allocations: 57.64 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5281, allocations: 11.98 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.5281, allocations: 0 / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5281, allocations: 3.938 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.5282, allocations: 4.438 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.5282, allocations: 0 / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.5284, allocations: 19.94 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.5284, allocations: 4 kB / 1.381 GB, free: 13.74 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 9.78e-05/0.5285, allocations: 125.7 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.5285, allocations: 0 / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.5285, allocations: 7.5 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5285, allocations: 0 / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5286, allocations: 4 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5286, allocations: 3.984 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.5287, allocations: 165.6 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5287, allocations: 4 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.5287, allocations: 0 / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.5288, allocations: 0 / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.5288, allocations: 4 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5288, allocations: 4 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5288, allocations: 3.984 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.5289, allocations: 88.98 kB / 1.381 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.529, allocations: 85.09 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.5291, allocations: 0 / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.5292, allocations: 11.98 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.5292, allocations: 15.94 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.5292, allocations: 4.219 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.5293, allocations: 79.28 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5293, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001973/0.5295, allocations: 16 kB / 1.382 GB, free: 13.04 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.0004884/0.53, allocations: 0.6366 MB / 1.382 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.5301, allocations: 31.92 kB / 1.382 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5301, allocations: 0 / 1.382 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.5302, allocations: 12 kB / 1.382 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.5304, allocations: 8 kB / 1.382 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007588/0.5311, allocations: 412.2 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.5314, allocations: 0.6809 MB / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.215e-05/0.5315, allocations: 4.094 kB / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.5315, allocations: 23.36 kB / 1.383 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of SimCode: time 7.41e-07/0.5315, allocations: 0 / 1.383 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.5457, allocations: 1.512 MB / 1.385 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.546, allocations: 226.3 kB / 1.385 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.049, allocations: 0 / 1.385 GB, free: 9.598 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat does not exist to compare? outputFormat=mat