Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001203/0.001203, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002859, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001218/0.001218, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002833, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.063/1.063, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09542/1.159, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.873/1.873, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5268/2.399, allocations: 123.3 MB / 0.728 GB, free: 5.793 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7293 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.223e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001975/0.001997, allocations: 1.57 MB / 0.7309 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002526/0.002249, allocations: 177 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.002283, allocations: 0 / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.002306, allocations: 4.938 kB / 0.7311 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.002426, allocations: 24.2 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.002565, allocations: 59.83 kB / 0.7311 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.002669, allocations: 62.53 kB / 0.7312 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.139e-05/0.00275, allocations: 16.8 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.002836, allocations: 38 kB / 0.7312 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.002922, allocations: 22.05 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.002947, allocations: 4.875 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.00296, allocations: 8 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.00298, allocations: 7.734 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.003016, allocations: 13.42 kB / 0.7313 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.942e-05/0.003115, allocations: 34.16 kB / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.068e-05/0.003136, allocations: 0 / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.003138, allocations: 0.6562 kB / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.003155, allocations: 0 / 0.7313 GB, free: 2.484 MB / 0.698 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.0004593/0.003615, allocations: 273.1 kB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.003648, allocations: 9.812 kB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.003681, allocations: 4.938 kB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.194e-05/0.003773, allocations: 117.7 kB / 0.7317 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.00379, allocations: 4.375 kB / 0.7317 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.003807, allocations: 4.375 kB / 0.7317 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.003951, allocations: 129.8 kB / 0.7319 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.003959, allocations: 192 / 0.7319 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.003967, allocations: 1.562 kB / 0.7319 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.003973, allocations: 384 / 0.7319 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.163e-05/0.004004, allocations: 19.92 kB / 0.7319 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.004285, allocations: 172.7 kB / 0.732 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.642e-05/0.004361, allocations: 31.52 kB / 0.7321 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.004383, allocations: 17.81 kB / 0.7321 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.00439, allocations: 0 / 0.7321 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.004499, allocations: 67.89 kB / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.0045, allocations: 0 / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0001143/0.004615, allocations: 51.34 kB / 0.7322 GB, free: 1.484 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.004654, allocations: 55.41 kB / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.105e-05/0.004705, allocations: 110.7 kB / 0.7324 GB, free: 1.297 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.004719, allocations: 29.7 kB / 0.7324 GB, free: 1.262 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.004748, allocations: 81.33 kB / 0.7325 GB, free: 1.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.00477, allocations: 23.83 kB / 0.7325 GB, free: 1.156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.004804, allocations: 17.7 kB / 0.7325 GB, free: 1.133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.004879, allocations: 322.8 kB / 0.7328 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.004892, allocations: 8.844 kB / 0.7328 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.004934, allocations: 81.95 kB / 0.7329 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.004973, allocations: 21.81 kB / 0.7329 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004975, allocations: 0 / 0.7329 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.047e-05/0.005035, allocations: 54.2 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.005049, allocations: 4 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.005055, allocations: 4.969 kB / 0.733 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.005064, allocations: 4 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.316e-05/0.005137, allocations: 15.92 kB / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.00514, allocations: 0.6875 kB / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.005189, allocations: 13.72 kB / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.005197, allocations: 3.984 kB / 0.733 GB, free: 0.5742 MB / 0.698 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 5.98e-05/0.005256, allocations: 109.8 kB / 0.7331 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.005264, allocations: 4 kB / 0.7331 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.005286, allocations: 12.97 kB / 0.7331 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.00529, allocations: 4 kB / 0.7331 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.005292, allocations: 0 / 0.7331 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.005296, allocations: 6.047 kB / 0.7331 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.363e-05/0.00536, allocations: 69.86 kB / 0.7332 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.005361, allocations: 0 / 0.7332 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.425e-05/0.005375, allocations: 4.5 kB / 0.7332 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.0054, allocations: 11.97 kB / 0.7332 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.005402, allocations: 0 / 0.7332 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.005406, allocations: 0.75 kB / 0.7332 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.005408, allocations: 7.938 kB / 0.7332 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005409, allocations: 0.875 kB / 0.7332 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.472e-05/0.005484, allocations: 85.03 kB / 0.7333 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.005499, allocations: 0.6562 kB / 0.7333 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.005538, allocations: 4 kB / 0.7333 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.005565, allocations: 13.83 kB / 0.7333 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.00557, allocations: 4 kB / 0.7333 GB, free: 204 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.207e-05/0.005582, allocations: 8.859 kB / 0.7333 GB, free: 192 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005582, allocations: 0 / 0.7333 GB, free: 192 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001039/0.005686, allocations: 15.98 kB / 0.7334 GB, free: 176 kB / 0.698 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 8.238e-05/0.005768, allocations: 81.61 kB / 0.7334 GB, free: 84 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.661e-05/0.005845, allocations: 32.78 kB / 0.7335 GB, free: 48 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.00585, allocations: 0.5312 kB / 0.7335 GB, free: 48 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.239e-05/0.005872, allocations: 13.8 kB / 0.7335 GB, free: 32 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.758e-05/0.00595, allocations: 15.98 kB / 0.7335 GB, free: 16 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.006596, allocations: 145.1 kB / 0.7336 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.006631, allocations: 56.05 kB / 0.7337 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.006668, allocations: 10.02 kB / 0.7337 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.006747, allocations: 63.36 kB / 0.7338 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/0.006748, allocations: 3.938 kB / 0.7338 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.002814/0.009562, allocations: 1.1 MB / 0.7348 GB, free: 14.68 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.027609991841018]