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.001048/0.001048, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 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.00114/0.00114, allocations: 173.9 kB / 23.21 MB, free: 1.34 MB / 18.57 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.8537/0.8537, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.813/1.813, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.913e-06/1.913e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.566e-05, allocations: 6.219 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00313/0.003165, allocations: 1.475 MB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000501/0.003666, allocations: 176.1 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.003717, allocations: 0 / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.003756, allocations: 7.922 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.00403, allocations: 19.81 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.004272, allocations: 61.95 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.004408, allocations: 67.78 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.00453, allocations: 11.94 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.004634, allocations: 31.95 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.004725, allocations: 19.92 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.00476, allocations: 4 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.004775, allocations: 8 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.0048, allocations: 7.984 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.004855, allocations: 27.91 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.004993, allocations: 51.91 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.004997, allocations: 0 / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.963e-06/0.004999, allocations: 4 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.005005, allocations: 0 / 1.003 GB, free: 11 MB / 0.9636 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.0006125/0.005617, allocations: 278.3 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.005664, allocations: 12.75 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.005718, allocations: 4.891 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.005845, allocations: 121.7 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.005866, allocations: 4.375 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.005883, allocations: 4.375 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.006089, allocations: 128.2 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.0061, allocations: 192 / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.006115, allocations: 4.375 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.00612, allocations: 384 / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.006193, allocations: 27.92 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.006686, allocations: 224.4 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.006823, allocations: 42.56 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.006861, allocations: 16.8 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.006874, allocations: 4 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.007091, allocations: 71.36 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/0.007093, allocations: 0 / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0002513/0.007344, allocations: 81.67 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.007415, allocations: 106.8 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.007499, allocations: 105.8 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.007518, allocations: 29.64 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.00757, allocations: 92.09 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.007595, allocations: 11.89 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.007642, allocations: 25.7 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.007735, allocations: 318.8 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.007765, allocations: 8 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.007839, allocations: 93.97 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.404e-05/0.007903, allocations: 36.94 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.007906, allocations: 4.031 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001159/0.008022, allocations: 81.64 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.008037, allocations: 4 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.008042, allocations: 0 / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.008058, allocations: 0 / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.008136, allocations: 12.48 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.008142, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.008222, allocations: 7.984 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.008231, allocations: 4 kB / 1.005 GB, free: 8.844 MB / 0.9636 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 8.667e-05/0.008317, allocations: 125.8 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.008331, allocations: 7.891 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.008357, allocations: 11.8 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.008361, allocations: 4 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.008365, allocations: 0 / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008369, allocations: 0 / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.934e-05/0.008459, allocations: 109.3 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.008461, allocations: 3.984 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.008483, allocations: 4 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.008485, allocations: 0 / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.008495, allocations: 3.938 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.008497, allocations: 7.938 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008499, allocations: 0 / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.008642, allocations: 93.06 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.008689, allocations: 15.94 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.008712, allocations: 3.938 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.008799, allocations: 7.984 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.008842, allocations: 11.98 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.008848, allocations: 0 / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.008897, allocations: 83.28 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.008897, allocations: 0 / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002315/0.009129, allocations: 23.94 kB / 1.005 GB, free: 8.273 MB / 0.9636 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 0.0001414/0.00927, allocations: 99.23 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.009417, allocations: 31.98 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.009422, allocations: 4 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.009463, allocations: 12.19 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.009648, allocations: 10.34 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.01002, allocations: 158.4 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.878e-05/0.01008, allocations: 73.41 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.01012, allocations: 8.5 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of SimCode: time 8.61e-07/0.01012, allocations: 0 / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of Templates: time 0.002646/0.01276, allocations: 0.899 MB / 1.006 GB, free: 6.938 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.403878808952868]