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.0009433/0.0009433, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002396, 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.001307/0.001307, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002862, 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 0.9768/0.9768, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1051/1.082, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.414/2.414, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2995/2.713, allocations: 145.9 MB / 0.817 GB, free: 4.199 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.453e-06/1.453e-06, allocations: 0 / 0.8183 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.137e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001868/0.001889, allocations: 1.562 MB / 0.8199 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002618/0.002151, allocations: 175.3 kB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.002184, allocations: 4 kB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.002208, allocations: 3.938 kB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.002322, allocations: 23.8 kB / 0.8201 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.002457, allocations: 55.84 kB / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.226e-05/0.002549, allocations: 63.84 kB / 0.8202 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.021e-05/0.00263, allocations: 11.88 kB / 0.8202 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.527e-05/0.002725, allocations: 39.95 kB / 0.8202 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.002799, allocations: 15.92 kB / 0.8202 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.002823, allocations: 4 kB / 0.8202 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.002835, allocations: 4 kB / 0.8202 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.002857, allocations: 11.98 kB / 0.8202 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.002889, allocations: 12 kB / 0.8203 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.007e-05/0.002979, allocations: 39.86 kB / 0.8203 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.962e-05/0.002999, allocations: 0 / 0.8203 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.282e-06/0.003, allocations: 0 / 0.8203 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.003015, allocations: 0 / 0.8203 GB, free: 0.832 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.0004608/0.003475, allocations: 276.4 kB / 0.8206 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.003511, allocations: 8.625 kB / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.003547, allocations: 12.86 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.89e-05/0.003636, allocations: 109.8 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.003649, allocations: 384 / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.003664, allocations: 8.375 kB / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.003806, allocations: 144.9 kB / 0.8208 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.003815, allocations: 4.172 kB / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.003825, allocations: 384 / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.00383, allocations: 384 / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.857e-05/0.003858, allocations: 15.88 kB / 0.8209 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.004528, allocations: 168.2 kB / 0.821 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/0.004628, allocations: 30.61 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.004646, allocations: 12.8 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.004654, allocations: 4 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.004763, allocations: 63.38 kB / 0.8211 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.004764, allocations: 0 / 0.8211 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001206/0.004885, allocations: 61.61 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.004926, allocations: 51.41 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.004991, allocations: 106.8 kB / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.005008, allocations: 33.62 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.005038, allocations: 88.14 kB / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.005061, allocations: 19.83 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.005097, allocations: 21.7 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.005183, allocations: 318.8 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.005197, allocations: 11.98 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.005246, allocations: 77.97 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.005285, allocations: 24.83 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005287, allocations: 0 / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.013e-05/0.005347, allocations: 53.67 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.00536, allocations: 7.938 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.005366, allocations: 3.938 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.005376, allocations: 0 / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.00545, allocations: 16 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.005453, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.005501, allocations: 7.984 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.005506, allocations: 4.031 kB / 0.822 GB, free: 14.89 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 6.701e-05/0.005573, allocations: 109.8 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.005584, allocations: 12.48 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.005606, allocations: 7.75 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005607, allocations: 0 / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.00561, allocations: 0 / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.005613, allocations: 4 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.131e-05/0.005684, allocations: 77.83 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005686, allocations: 4 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-06/0.005695, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.005718, allocations: 12 kB / 0.8222 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.00572, allocations: 4 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.005725, allocations: 3.984 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.005729, allocations: 11.81 kB / 0.8222 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005729, allocations: 0 / 0.8222 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.062e-05/0.00579, allocations: 65.12 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.005806, allocations: 4 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-05/0.00584, allocations: 11.98 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.00587, allocations: 3.938 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.005875, allocations: 3.984 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.39e-05/0.005888, allocations: 16.86 kB / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005888, allocations: 0 / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.385e-05/0.005982, allocations: 12 kB / 0.8223 GB, free: 14.49 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 7.651e-05/0.006059, allocations: 80.42 kB / 0.8224 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.29e-05/0.006142, allocations: 32.77 kB / 0.8224 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.006148, allocations: 4 kB / 0.8224 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.00617, allocations: 16.84 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.241e-05/0.006243, allocations: 19.94 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.00688, allocations: 139.6 kB / 0.8226 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.396e-05/0.006914, allocations: 63.28 kB / 0.8227 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.006942, allocations: 11.89 kB / 0.8227 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.007019, allocations: 67.34 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of SimCode: time 6.91e-07/0.00702, allocations: 0 / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of Templates: time 0.002539/0.009558, allocations: 1.09 MB / 0.8238 GB, free: 12.96 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2662652703002095]