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.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.000916/0.000916, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001724/0.00264, allocations: 435.8 kB / 10.33 MB, free: 368 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.001168/0.001168, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002636, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09849/1.126, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.481/2.481, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3079/2.789, allocations: 145.9 MB / 0.817 GB, free: 4.227 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.306e-05, allocations: 4.562 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003779/0.003812, allocations: 1.56 MB / 0.8199 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004455/0.004257, allocations: 175.3 kB / 0.82 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.004304, allocations: 0 / 0.82 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.004334, allocations: 7.938 kB / 0.82 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.004556, allocations: 27.84 kB / 0.8201 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.00477, allocations: 51.91 kB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.004901, allocations: 67.72 kB / 0.8202 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.004997, allocations: 7.938 kB / 0.8202 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.005132, allocations: 43.89 kB / 0.8202 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.005225, allocations: 19.97 kB / 0.8202 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.005259, allocations: 4 kB / 0.8202 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.005275, allocations: 4 kB / 0.8202 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.005301, allocations: 11.94 kB / 0.8203 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.005349, allocations: 12 kB / 0.8203 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.005474, allocations: 43.89 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.209e-05/0.005496, allocations: 0 / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.064e-06/0.005498, allocations: 0 / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.005518, allocations: 0 / 0.8203 GB, free: 0.8398 MB / 0.7917 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.0005898/0.006108, allocations: 268.5 kB / 0.8206 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.006151, allocations: 8.625 kB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.0062, allocations: 4.938 kB / 0.8206 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.006317, allocations: 117.7 kB / 0.8207 GB, free: 408 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.006337, allocations: 4.375 kB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.006354, allocations: 4.375 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.006532, allocations: 132.9 kB / 0.8208 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.006541, allocations: 192 / 0.8208 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.006554, allocations: 4.375 kB / 0.8208 GB, free: 232 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.006561, allocations: 384 / 0.8208 GB, free: 232 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.54e-05/0.006606, allocations: 15.92 kB / 0.8208 GB, free: 216 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.007059, allocations: 172.2 kB / 0.821 GB, free: 28 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.007204, allocations: 30.62 kB / 0.821 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.007223, allocations: 8.859 kB / 0.821 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.00723, allocations: 0 / 0.821 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.007354, allocations: 71.42 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.007356, allocations: 0 / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001224/0.007478, allocations: 57.62 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.007519, allocations: 51.41 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.118e-05/0.00757, allocations: 106.7 kB / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.007586, allocations: 29.7 kB / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.007618, allocations: 88.12 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.00764, allocations: 11.84 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.007679, allocations: 29.69 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.007748, allocations: 318.8 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.007761, allocations: 8 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.394e-05/0.007805, allocations: 89.88 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.007842, allocations: 20.84 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007844, allocations: 0.5 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.764e-05/0.007902, allocations: 53.69 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.007917, allocations: 7.938 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.007925, allocations: 3.938 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.007934, allocations: 0 / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.154e-05/0.008015, allocations: 23.92 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.008019, allocations: 0 / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.008077, allocations: 4 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.008082, allocations: 4.031 kB / 0.822 GB, free: 14.92 MB / 0.8073 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.939e-05/0.008142, allocations: 117.8 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.008149, allocations: 4 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.186e-05/0.008171, allocations: 7.75 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.008174, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.008175, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008179, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.148e-05/0.00825, allocations: 81.83 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.008251, allocations: 0 / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/0.008261, allocations: 4 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.008289, allocations: 11.98 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.00829, allocations: 0 / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.008295, allocations: 7.984 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.008297, allocations: 3.938 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.008297, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.97e-05/0.008357, allocations: 73.06 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.008373, allocations: 7.984 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.713e-05/0.00841, allocations: 6.5 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.008436, allocations: 7.922 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.008439, allocations: 0 / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.238e-05/0.008451, allocations: 20.91 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008451, allocations: 0 / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.686e-05/0.008548, allocations: 16 kB / 0.8223 GB, free: 14.51 MB / 0.8073 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 9.471e-05/0.008643, allocations: 84.41 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.164e-05/0.008715, allocations: 28.8 kB / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.008721, allocations: 11.98 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.008742, allocations: 12.86 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.127e-05/0.008824, allocations: 15.92 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.009466, allocations: 144.5 kB / 0.8226 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.632e-05/0.009492, allocations: 55.36 kB / 0.8227 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.155e-05/0.009524, allocations: 7.906 kB / 0.8227 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.009593, allocations: 71.34 kB / 0.8227 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/0.009593, allocations: 0 / 0.8227 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.002579/0.01217, allocations: 1.088 MB / 0.8238 GB, free: 12.99 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart/Buildings_latest_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.360816285945475]