Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001374/0.001374, allocations: 84.41 kB / 20.23 MB, free: 4.191 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.001738/0.001738, allocations: 157.7 kB / 23.54 MB, free: 0.8867 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 1.508/1.508, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.871/2.871, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.107e-05, allocations: 5.172 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002799/0.00283, allocations: 1.477 MB / 0.8123 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004971/0.003327, allocations: 183.9 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.003366, allocations: 0.875 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.003399, allocations: 3.938 kB / 0.8124 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.003645, allocations: 24.73 kB / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.003851, allocations: 53.55 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.003973, allocations: 63.83 kB / 0.8126 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.004076, allocations: 7.984 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.004177, allocations: 39.91 kB / 0.8126 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.004258, allocations: 17.5 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.004287, allocations: 4 kB / 0.8126 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.004304, allocations: 4 kB / 0.8126 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.004334, allocations: 15.98 kB / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.00439, allocations: 21.02 kB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.004524, allocations: 59.83 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.004528, allocations: 0 / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004529, allocations: 1.438 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.82e-06/0.004534, allocations: 4 kB / 0.8127 GB, free: 132 kB / 0.7605 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.0006317/0.005166, allocations: 278.3 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.005206, allocations: 8.562 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.005265, allocations: 5.656 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.005414, allocations: 121.6 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.005437, allocations: 12.86 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.005456, allocations: 4.375 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.005691, allocations: 129.8 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.0057, allocations: 192 / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.005715, allocations: 384 / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.005719, allocations: 384 / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.005799, allocations: 28.48 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.006294, allocations: 221.4 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.006429, allocations: 38.58 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.006481, allocations: 21.5 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.006493, allocations: 0.5938 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.006709, allocations: 72.03 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.00671, allocations: 0 / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0002536/0.006964, allocations: 79.02 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.007055, allocations: 110.8 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.007162, allocations: 101.9 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.007192, allocations: 31.45 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.007263, allocations: 92.11 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.007292, allocations: 15.84 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.007345, allocations: 21.7 kB / 0.8141 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.007523, allocations: 318.8 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/0.007579, allocations: 18.72 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.007685, allocations: 89.97 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.293e-05/0.007767, allocations: 36.98 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.007769, allocations: 0 / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001487/0.007918, allocations: 81.58 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.007937, allocations: 8 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.007941, allocations: 3.281 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.007959, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.008037, allocations: 7.938 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.008042, allocations: 0 / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.008163, allocations: 11.98 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.008172, allocations: 0 / 0.8146 GB, free: 13.98 MB / 0.7761 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 0.000109/0.008281, allocations: 113.8 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.008306, allocations: 15.86 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.008326, allocations: 8.875 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.008328, allocations: 4 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.008332, allocations: 0.5 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008335, allocations: 0 / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.00848, allocations: 113.9 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008481, allocations: 0.5625 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.008507, allocations: 4 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.00851, allocations: 1.031 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.008521, allocations: 3.938 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.008522, allocations: 0.9062 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.008525, allocations: 3.984 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.008697, allocations: 101 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.008734, allocations: 10.23 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.008759, allocations: 7.938 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.008868, allocations: 7.984 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.008905, allocations: 4 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.00892, allocations: 11.97 kB / 0.815 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.421e-05/0.008985, allocations: 88.16 kB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008985, allocations: 0 / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002058/0.009191, allocations: 12 kB / 0.8151 GB, free: 13.43 MB / 0.7761 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.0001424/0.009333, allocations: 96.19 kB / 0.8152 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.009491, allocations: 45.14 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.009493, allocations: 0 / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.009541, allocations: 15.98 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.009712, allocations: 8.922 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.0101, allocations: 127.1 kB / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.166e-05/0.01018, allocations: 73.84 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.366e-05/0.01023, allocations: 9.031 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.01026, allocations: 12.5 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01026, allocations: 1.031 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of Templates: time 0.003945/0.01421, allocations: 0.9801 MB / 0.8164 GB, free: 12.06 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.785148795926943]