Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 161.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.859/2.859, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.594e-05/3.755e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00327/0.003307, allocations: 1.48 MB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000551/0.003858, allocations: 175.9 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.003908, allocations: 3.938 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.003943, allocations: 3.938 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.004201, allocations: 24.47 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.004421, allocations: 56.73 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.004544, allocations: 63.77 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.004645, allocations: 13.08 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.004745, allocations: 31.98 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.004834, allocations: 27.89 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.004861, allocations: 5.062 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.561e-05/0.004877, allocations: 4 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.004904, allocations: 11.98 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.004962, allocations: 25.47 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.005085, allocations: 47.92 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005087, allocations: 0 / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.005088, allocations: 0 / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.005092, allocations: 9.75 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006221/0.005714, allocations: 278.3 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.00575, allocations: 8.031 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.005807, allocations: 4.938 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.005965, allocations: 124.1 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.005986, allocations: 4.375 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.006004, allocations: 4.375 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.006228, allocations: 132.2 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.006236, allocations: 192 / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.006251, allocations: 4.312 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.006257, allocations: 384 / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.006323, allocations: 24.5 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.006839, allocations: 222.2 kB / 0.7891 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.006976, allocations: 42.56 kB / 0.7891 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.007025, allocations: 20.8 kB / 0.7892 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.007041, allocations: 5.734 kB / 0.7892 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.007245, allocations: 71.42 kB / 0.7892 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.007246, allocations: 0 / 0.7892 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002745/0.007521, allocations: 81.64 kB / 0.7893 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.007619, allocations: 111.4 kB / 0.7894 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.007731, allocations: 101.9 kB / 0.7895 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.007765, allocations: 30.55 kB / 0.7895 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.007841, allocations: 88.12 kB / 0.7896 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.007872, allocations: 17.41 kB / 0.7896 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.007938, allocations: 25.7 kB / 0.7897 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.008125, allocations: 314.8 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.008169, allocations: 15.98 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.008289, allocations: 100.2 kB / 0.7901 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.915e-05/0.008368, allocations: 32.86 kB / 0.7901 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00837, allocations: 0 / 0.7901 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/0.008525, allocations: 77.52 kB / 0.7902 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.008545, allocations: 8 kB / 0.7902 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.008551, allocations: 0 / 0.7902 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.008569, allocations: 0.5 kB / 0.7902 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.008649, allocations: 4 kB / 0.7902 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.008656, allocations: 0.7188 kB / 0.7902 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.008781, allocations: 14.55 kB / 0.7902 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.00879, allocations: 1.656 kB / 0.7902 GB, free: 8.664 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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.0001233/0.008913, allocations: 117.8 kB / 0.7903 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.008937, allocations: 7.938 kB / 0.7903 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.00896, allocations: 7.812 kB / 0.7903 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.008962, allocations: 4.531 kB / 0.7903 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.008967, allocations: 1.312 kB / 0.7903 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.008969, allocations: 0 / 0.7903 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.009106, allocations: 109.3 kB / 0.7905 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.009108, allocations: 0 / 0.7905 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.009138, allocations: 13.03 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.00914, allocations: 0 / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.009154, allocations: 8.422 kB / 0.7905 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009156, allocations: 1.375 kB / 0.7905 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009157, allocations: 0 / 0.7905 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.009353, allocations: 101.1 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.009393, allocations: 7.984 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.009424, allocations: 12.84 kB / 0.7906 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.009533, allocations: 7.984 kB / 0.7906 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.009571, allocations: 4.828 kB / 0.7906 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.009579, allocations: 4 kB / 0.7906 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.281e-05/0.009642, allocations: 84.56 kB / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009642, allocations: 0 / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002155/0.009858, allocations: 12 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001396/0.009997, allocations: 111.8 kB / 0.7908 GB, free: 8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.01013, allocations: 32.8 kB / 0.7908 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01014, allocations: 0 / 0.7908 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.311e-05/0.0102, allocations: 13.62 kB / 0.7908 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.01038, allocations: 7.953 kB / 0.7909 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.01077, allocations: 140.4 kB / 0.791 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.038e-05/0.01085, allocations: 76.19 kB / 0.7911 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.586e-05/0.01089, allocations: 7.438 kB / 0.7911 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.01093, allocations: 12.5 kB / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01093, allocations: 0 / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of Templates: time 0.0042/0.01513, allocations: 0.9959 MB / 0.7921 GB, free: 6.758 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.693533531972207]