Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437.1 MB / 0.7178 GB, free: 4.535 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.88 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2855, allocations: 151.6 MB / 1.176 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002536/0.2881, allocations: 1.447 MB / 1.177 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004139/0.2885, allocations: 191.4 kB / 1.177 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.2886, allocations: 7.938 kB / 1.177 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.2886, allocations: 3.984 kB / 1.177 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.2888, allocations: 19.86 kB / 1.177 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.289, allocations: 63.78 kB / 1.178 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2891, allocations: 55.84 kB / 1.178 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.079e-05/0.2892, allocations: 7.938 kB / 1.178 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.2893, allocations: 31.91 kB / 1.178 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.2893, allocations: 15.92 kB / 1.178 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.2894, allocations: 8 kB / 1.178 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.2894, allocations: 8 kB / 1.178 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.2894, allocations: 7.984 kB / 1.178 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.2895, allocations: 31.84 kB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.585e-05/0.2896, allocations: 43.86 kB / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2896, allocations: 0 / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2896, allocations: 0 / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2896, allocations: 0 / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005558/0.2902, allocations: 355.3 kB / 1.178 GB, free: 3.574 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2902, allocations: 12.03 kB / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.2903, allocations: 8.922 kB / 1.178 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2904, allocations: 168.3 kB / 1.178 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2904, allocations: 4.375 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.2904, allocations: 4.375 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.2906, allocations: 72.81 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2906, allocations: 192 / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2906, allocations: 3.938 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2907, allocations: 4 kB / 1.178 GB, free: 3.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.623e-05/0.2907, allocations: 19.98 kB / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.2911, allocations: 276.8 kB / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.143e-05/0.2912, allocations: 38.56 kB / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.2912, allocations: 12.86 kB / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.2913, allocations: 8 kB / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.2914, allocations: 63.41 kB / 1.179 GB, free: 2.766 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.2914, allocations: 4 kB / 1.179 GB, free: 2.762 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002244/0.2917, allocations: 69.69 kB / 1.179 GB, free: 2.688 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.2918, allocations: 102.8 kB / 1.179 GB, free: 2.562 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2919, allocations: 105.8 kB / 1.179 GB, free: 2.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.2919, allocations: 25.7 kB / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.292, allocations: 88.09 kB / 1.179 GB, free: 2.328 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.292, allocations: 15.94 kB / 1.179 GB, free: 2.312 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.292, allocations: 25.66 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2922, allocations: 318.8 kB / 1.179 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-05/0.2923, allocations: 8 kB / 1.179 GB, free: 1.953 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.2923, allocations: 42.5 kB / 1.18 GB, free: 1.902 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.2924, allocations: 29.17 kB / 1.18 GB, free: 1.871 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2924, allocations: 4 kB / 1.18 GB, free: 1.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001034/0.2925, allocations: 61.67 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2925, allocations: 8 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2925, allocations: 0 / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2926, allocations: 192 / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.042e-05/0.2926, allocations: 4 kB / 1.18 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2927, allocations: 0 / 1.18 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.2928, allocations: 19.91 kB / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.2928, allocations: 0 / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (5): * Single equations (assignments): 5 * 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 0.0001107/0.2929, allocations: 129.7 kB / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.2929, allocations: 0 / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.293, allocations: 11.5 kB / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.293, allocations: 0 / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.293, allocations: 0 / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.293, allocations: 0 / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.2931, allocations: 173.6 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2931, allocations: 0 / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.2932, allocations: 4 kB / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2932, allocations: 0 / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2932, allocations: 0 / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2932, allocations: 8 kB / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2932, allocations: 0 / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.2934, allocations: 93 kB / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.2934, allocations: 89.03 kB / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.2935, allocations: 0 / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2936, allocations: 7.984 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.2936, allocations: 8 kB / 1.18 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.2936, allocations: 4 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.625e-05/0.2937, allocations: 91.33 kB / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2937, allocations: 0 / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002008/0.2939, allocations: 12 kB / 1.18 GB, free: 1.051 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001323/0.294, allocations: 103.2 kB / 1.18 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.2942, allocations: 31.98 kB / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2942, allocations: 0 / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.2942, allocations: 15.94 kB / 1.18 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.2944, allocations: 24.22 kB / 1.18 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.2947, allocations: 141.7 kB / 1.181 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.2951, allocations: 0.6846 MB / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.2951, allocations: 11.44 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2951, allocations: 0 / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.002329/0.2974, allocations: 0.828 MB / 1.182 GB, free: 15.16 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.989218035945669]