Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001094/0.001094, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001736/0.00283, allocations: 444 kB / 10.41 MB, free: 276 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.001125/0.001125, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001487/0.002612, allocations: 475.6 kB / 11.79 MB, free: 2.371 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 0.9523/0.9523, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08769/1.04, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.371/2.371, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2346/2.605, allocations: 146 MB / 0.8176 GB, free: 3.816 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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.026e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002945/0.002965, allocations: 1.568 MB / 0.8205 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.003281, allocations: 179.3 kB / 0.8206 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.003313, allocations: 0 / 0.8206 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.003337, allocations: 3.938 kB / 0.8207 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.003462, allocations: 23.78 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.003615, allocations: 55.91 kB / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.003722, allocations: 67.73 kB / 0.8208 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.064e-05/0.003792, allocations: 11.92 kB / 0.8208 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.927e-05/0.003892, allocations: 43.91 kB / 0.8208 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.003967, allocations: 19.97 kB / 0.8209 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.003995, allocations: 4 kB / 0.8209 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.004012, allocations: 8 kB / 0.8209 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.004037, allocations: 7.938 kB / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.004069, allocations: 12 kB / 0.8209 GB, free: 456 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.763e-05/0.004166, allocations: 31.95 kB / 0.8209 GB, free: 424 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.00418, allocations: 11.94 kB / 0.8209 GB, free: 412 kB / 0.7917 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004181, allocations: 0 / 0.8209 GB, free: 412 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.004193, allocations: 0 / 0.8209 GB, free: 412 kB / 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.0004781/0.004671, allocations: 264.5 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.004704, allocations: 8.031 kB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.004748, allocations: 4.938 kB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.004853, allocations: 117.7 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.00487, allocations: 4.375 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.004889, allocations: 8.375 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.005036, allocations: 132.9 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.005044, allocations: 4.188 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.005054, allocations: 384 / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.00506, allocations: 384 / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.005092, allocations: 15.92 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.005532, allocations: 172.2 kB / 0.8216 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.939e-05/0.005611, allocations: 26.58 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.005636, allocations: 21.02 kB / 0.8217 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.005641, allocations: 0 / 0.8217 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.005751, allocations: 63.31 kB / 0.8217 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.005752, allocations: 4 kB / 0.8217 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001191/0.005871, allocations: 53.62 kB / 0.8218 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.005908, allocations: 55.41 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.005971, allocations: 114.9 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.00599, allocations: 25.7 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.006024, allocations: 84.14 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.006048, allocations: 19.83 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.006092, allocations: 25.7 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003311/0.006423, allocations: 314.8 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.006441, allocations: 4 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.006496, allocations: 85.89 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.336e-05/0.00654, allocations: 24.88 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006541, allocations: 0 / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.86e-05/0.00662, allocations: 53.69 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.006632, allocations: 4 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.006638, allocations: 3.938 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.006655, allocations: 4 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.006731, allocations: 19.86 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.006734, allocations: 0 / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.006797, allocations: 4 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.006804, allocations: 0 / 0.8226 GB, free: 14.49 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 7.003e-05/0.006875, allocations: 121.8 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.006888, allocations: 4 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.862e-05/0.006907, allocations: 7.75 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.006909, allocations: 4 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.006911, allocations: 3.984 kB / 0.8227 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006915, allocations: 0 / 0.8227 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.456e-05/0.006999, allocations: 85.83 kB / 0.8228 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007001, allocations: 0 / 0.8228 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.429e-05/0.007015, allocations: 4 kB / 0.8228 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.007036, allocations: 7.984 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.007038, allocations: 4 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.007042, allocations: 0 / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.007045, allocations: 3.938 kB / 0.8228 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007045, allocations: 0 / 0.8228 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.28e-05/0.007108, allocations: 81.03 kB / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.007122, allocations: 4.312 kB / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.658e-05/0.007159, allocations: 8 kB / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.00718, allocations: 7.922 kB / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.007184, allocations: 4 kB / 0.8229 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.156e-05/0.007196, allocations: 8.859 kB / 0.8229 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007196, allocations: 0 / 0.8229 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.885e-05/0.007294, allocations: 23.98 kB / 0.823 GB, free: 14.07 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 6.515e-05/0.00736, allocations: 76.42 kB / 0.823 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.407e-05/0.007424, allocations: 32.78 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.007427, allocations: 0 / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.007454, allocations: 24.8 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.685e-05/0.007521, allocations: 15.92 kB / 0.8231 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005611/0.008082, allocations: 138.7 kB / 0.8232 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.169e-05/0.008114, allocations: 57.94 kB / 0.8233 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.008139, allocations: 15.89 kB / 0.8233 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.008214, allocations: 67.36 kB / 0.8234 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.008215, allocations: 0 / 0.8234 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.002436/0.01065, allocations: 1.111 MB / 0.8245 GB, free: 12.52 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.104882488958538]