Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.0007999/0.0007999, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.001919, 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.0007249/0.0007249, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009281/0.001653, 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.9923/0.9923, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1112/1.103, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.433/2.433, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3171/2.75, allocations: 145.9 MB / 0.817 GB, free: 4.203 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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.565e-05, allocations: 4.984 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00208/0.002106, allocations: 1.556 MB / 0.8198 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002609/0.002366, allocations: 179.3 kB / 0.82 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.0024, allocations: 0 / 0.82 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.002424, allocations: 3.938 kB / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.002561, allocations: 23.86 kB / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.002696, allocations: 55.84 kB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.344e-05/0.002789, allocations: 67.78 kB / 0.8201 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.002903, allocations: 7.938 kB / 0.8202 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.002996, allocations: 43.89 kB / 0.8202 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.00307, allocations: 11.98 kB / 0.8202 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.003095, allocations: 4 kB / 0.8202 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.003108, allocations: 8 kB / 0.8202 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.003132, allocations: 7.938 kB / 0.8202 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.003164, allocations: 12 kB / 0.8202 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.116e-05/0.003255, allocations: 43.89 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.003269, allocations: 0 / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.71e-07/0.00327, allocations: 0 / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.003283, 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.0004399/0.003723, allocations: 272.5 kB / 0.8205 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.003758, allocations: 8.625 kB / 0.8206 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.003804, allocations: 8.922 kB / 0.8206 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.481e-05/0.003888, allocations: 113.7 kB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.003904, allocations: 4.375 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.003916, allocations: 8.375 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.004048, allocations: 136.9 kB / 0.8208 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.004055, allocations: 4.172 kB / 0.8208 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.004064, allocations: 384 / 0.8208 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.004068, allocations: 384 / 0.8208 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.017e-05/0.004098, allocations: 15.88 kB / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.004389, allocations: 168.2 kB / 0.821 GB, free: 20 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9.43e-05/0.004483, allocations: 30.56 kB / 0.821 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.0045, allocations: 8.859 kB / 0.821 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-06/0.004508, allocations: 4 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.004642, allocations: 67.48 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.004643, allocations: 0 / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001384/0.004782, allocations: 57.62 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.004824, allocations: 59.39 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.981e-05/0.004874, allocations: 98.72 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.00489, allocations: 29.7 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.004925, allocations: 92.11 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.004946, allocations: 15.84 kB / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.00498, allocations: 29.62 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.00506, allocations: 314.8 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.00507, allocations: 4 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.005118, allocations: 85.95 kB / 0.8218 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.005153, allocations: 24.98 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005154, allocations: 0 / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.437e-05/0.005209, allocations: 49.69 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.005222, allocations: 7.938 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.005229, allocations: 7.922 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.005239, allocations: 0 / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.005312, allocations: 19.94 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.005316, allocations: 0.5 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.005366, allocations: 7.984 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.005372, allocations: 4.031 kB / 0.822 GB, free: 14.91 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.546e-05/0.005438, allocations: 109.8 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.005448, allocations: 8 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.005472, allocations: 11.73 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.005475, allocations: 4 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.005477, allocations: 4 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.005481, allocations: 0 / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.766e-05/0.005559, allocations: 77.83 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.005561, allocations: 0 / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.005572, allocations: 4 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.005598, allocations: 12 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005599, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.005603, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.005606, allocations: 3.938 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005607, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.116e-05/0.005688, allocations: 73.05 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.005707, allocations: 4 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.005745, allocations: 11.98 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.005774, allocations: 3.938 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.005778, allocations: 4 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.62e-05/0.005794, allocations: 16.83 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005794, allocations: 4 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001072/0.005902, allocations: 12 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.306e-05/0.005995, allocations: 80.42 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.071e-05/0.006075, allocations: 28.78 kB / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.006081, allocations: 4 kB / 0.8224 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.006105, allocations: 12.86 kB / 0.8224 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.283e-05/0.006178, allocations: 16.3 kB / 0.8224 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006305/0.006808, allocations: 148.5 kB / 0.8226 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.066e-05/0.006839, allocations: 59.34 kB / 0.8226 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.006868, allocations: 11.89 kB / 0.8227 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.00694, allocations: 63.34 kB / 0.8227 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of SimCode: time 8.91e-07/0.006941, allocations: 7.938 kB / 0.8227 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.002567/0.009508, allocations: 1.087 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.ConvertTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.5244315629825]