Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 182.3 kB / 16.92 MB, free: 6.918 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437.8 MB / 0.7128 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 11.94 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5859/0.5863, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001732/0.5881, allocations: 1.184 MB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004278/0.5885, allocations: 179.5 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.5886, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.5886, allocations: 3.984 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.5889, allocations: 19.56 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.5891, allocations: 47.92 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.5893, allocations: 59.77 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.5894, allocations: 12 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.5895, allocations: 19.92 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.5896, allocations: 15.92 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.5896, allocations: 4 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.5896, allocations: 4 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.5897, allocations: 15.91 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.5897, allocations: 41.64 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.996e-05/0.5898, allocations: 29.91 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5898, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.856e-06/0.5898, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.5899, allocations: 4 kB / 1.025 GB, free: 14.24 MB / 0.7794 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.0006008/0.5905, allocations: 343.4 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.5905, allocations: 11.97 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.5906, allocations: 8.844 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.5907, allocations: 176.3 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.5908, allocations: 384 / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.5908, allocations: 8.375 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.591, allocations: 76.75 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.591, allocations: 192 / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.591, allocations: 7.938 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.591, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.116e-05/0.5911, allocations: 15.98 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.5916, allocations: 276.8 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.5917, allocations: 46.5 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.5917, allocations: 16.86 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.5917, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.5919, allocations: 59.48 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5919, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002496/0.5922, allocations: 77.61 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.714e-05/0.5923, allocations: 110.8 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.5924, allocations: 109.8 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.5924, allocations: 29.7 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.5925, allocations: 80.14 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.5925, allocations: 15.81 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.5926, allocations: 13.7 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5927, allocations: 318.8 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.5928, allocations: 12 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.392e-05/0.5928, allocations: 34.56 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.413e-05/0.5929, allocations: 24.86 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5929, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001257/0.593, allocations: 61.62 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.593, allocations: 5.875 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.5931, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5931, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.5932, allocations: 15.98 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5932, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.5933, allocations: 12.03 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.5933, allocations: 3.984 kB / 1.027 GB, free: 12.05 MB / 0.7794 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 0.0001138/0.5934, allocations: 118.3 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.5935, allocations: 3.906 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.5935, allocations: 7.5 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5935, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5935, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5935, allocations: 3.938 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.5937, allocations: 173.6 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5937, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.481e-05/0.5937, allocations: 7.938 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5938, allocations: 192 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.5938, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5938, allocations: 448 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5938, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.5939, allocations: 97.03 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.594, allocations: 93.03 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.594, allocations: 11.94 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.5942, allocations: 13.52 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.5942, allocations: 0 / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.5942, allocations: 7.984 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.281e-05/0.5943, allocations: 83.28 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5943, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002044/0.5945, allocations: 15.91 kB / 1.028 GB, free: 11.32 MB / 0.7794 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.0001272/0.5946, allocations: 107.2 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.5948, allocations: 27.98 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5948, allocations: 0 / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.5948, allocations: 19.98 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.595, allocations: 10.75 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.5954, allocations: 162.3 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.5956, allocations: 0.6848 MB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.5957, allocations: 7.438 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5957, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.002289/0.598, allocations: 0.8154 MB / 1.03 GB, free: 9.43 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.modTim,time