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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006625/0.006625, allocations: 103.6 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 193.8 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.564/2.564, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 67.84 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2861, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002573/0.2887, allocations: 1.468 MB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.2891, allocations: 187.4 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.2892, allocations: 0 / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.2892, allocations: 3.938 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.2895, allocations: 27.84 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.2897, allocations: 58.53 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.2898, allocations: 51.8 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.2899, allocations: 11.98 kB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.29, allocations: 23.97 kB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.2901, allocations: 19.92 kB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2901, allocations: 4 kB / 1.209 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.2901, allocations: 8 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.2902, allocations: 15.92 kB / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.2902, allocations: 19.92 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.2903, allocations: 60.02 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2903, allocations: 0 / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2904, allocations: 0 / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2904, allocations: 0 / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005074/0.2909, allocations: 351.4 kB / 1.21 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2909, allocations: 8.031 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.291, allocations: 34.75 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.291, allocations: 12.83 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2911, allocations: 168.4 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.2911, allocations: 384 / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.2912, allocations: 4.375 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.2913, allocations: 76.75 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2913, allocations: 7.938 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2913, allocations: 0 / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2913, allocations: 4 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.043e-05/0.2914, allocations: 19.92 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.2917, allocations: 268.9 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.53e-05/0.2918, allocations: 42.5 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.2919, allocations: 20.86 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.2919, allocations: 0 / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.2921, allocations: 79.3 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2921, allocations: 0 / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001817/0.2922, allocations: 69.62 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.2923, allocations: 106.8 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.844e-05/0.2924, allocations: 105.8 kB / 1.21 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2924, allocations: 29.7 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.2925, allocations: 84.14 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.2925, allocations: 19.73 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.2925, allocations: 21.72 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.2926, allocations: 318.8 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.2927, allocations: 12 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.2927, allocations: 30.56 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.05e-05/0.2928, allocations: 28.89 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2928, allocations: 0 / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.557e-05/0.2929, allocations: 65.62 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2929, allocations: 5.562 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2929, allocations: 0 / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2929, allocations: 0 / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.639e-05/0.293, allocations: 8 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.293, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2931, allocations: 7.984 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2931, allocations: 0 / 1.211 GB, free: 5.961 MB / 0.9669 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.658e-05/0.2932, allocations: 125.8 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.2932, allocations: 7.906 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.2932, allocations: 7.5 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2932, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2933, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2933, allocations: 448 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.2934, allocations: 173.6 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2934, allocations: 0 / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.2934, allocations: 4 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2934, allocations: 7.938 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2934, allocations: 8 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2934, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2934, allocations: 3.938 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.2936, allocations: 85.05 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.2936, allocations: 93.03 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.2936, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2938, allocations: 11.98 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.2938, allocations: 4 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2938, allocations: 8 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.2938, allocations: 83.27 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2939, allocations: 0 / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001849/0.294, allocations: 19.91 kB / 1.212 GB, free: 5.234 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003511/0.2944, allocations: 0.628 MB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.2945, allocations: 31.98 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2945, allocations: 0 / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.2946, allocations: 15.94 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.2947, allocations: 8.375 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.2957, allocations: 1.173 MB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.2958, allocations: 0.6768 MB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.2959, allocations: 11.98 kB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.2959, allocations: 15.44 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.2959, allocations: 0 / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.3135, allocations: 1.819 MB / 1.216 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.293, allocations: 9.656 kB / 1.216 GB, free: 0.8945 MB / 0.9669 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/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) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.calTimAux,conTim.modTim,conTim.modTimAux,conTim.weaDatEndTim,conTim.weaDatStaTim,modTim.y,time