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.001057/0.001057, allocations: 76.5 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.001022/0.001022, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.9215/0.9215, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.771/1.771, allocations: 377.8 MB / 0.6228 GB, free: 8.695 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.773e-06/1.773e-06, allocations: 0 / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.259e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002192/0.002225, allocations: 1.479 MB / 0.9836 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003949/0.00262, allocations: 179.3 kB / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.002663, allocations: 0 / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.002695, allocations: 3.938 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.002941, allocations: 23.84 kB / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.003109, allocations: 51.05 kB / 0.9839 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.003222, allocations: 67.78 kB / 0.984 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.003332, allocations: 15.91 kB / 0.984 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.003421, allocations: 27.98 kB / 0.984 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.003508, allocations: 23.91 kB / 0.984 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.003537, allocations: 4 kB / 0.984 GB, free: 212 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.003549, allocations: 8 kB / 0.984 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.003575, allocations: 11.97 kB / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.003617, allocations: 15.94 kB / 0.9841 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.003732, allocations: 67.77 kB / 0.9841 GB, free: 108 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003734, allocations: 0 / 0.9841 GB, free: 108 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.302e-06/0.003736, allocations: 0 / 0.9841 GB, free: 108 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.003741, allocations: 4 kB / 0.9841 GB, free: 104 kB / 0.9323 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.0008434/0.004584, allocations: 278.2 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.00463, allocations: 16.02 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.004671, allocations: 0.9375 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.004775, allocations: 117.7 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.004791, allocations: 8.359 kB / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.004803, allocations: 4.375 kB / 0.9845 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.004966, allocations: 132.2 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.004974, allocations: 192 / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.004988, allocations: 384 / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.004993, allocations: 8.312 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.005043, allocations: 23.92 kB / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.00545, allocations: 220.5 kB / 0.9849 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.005561, allocations: 42.52 kB / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.005588, allocations: 16.94 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.005598, allocations: 4 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.005739, allocations: 67.33 kB / 0.985 GB, free: 15.04 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 1.674e-06/0.00574, allocations: 0 / 0.985 GB, free: 15.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0001949/0.005935, allocations: 81.62 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.005994, allocations: 110.8 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.006059, allocations: 109.8 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.006074, allocations: 25.7 kB / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.006121, allocations: 88.14 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.006145, allocations: 15.83 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.006183, allocations: 25.7 kB / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.006274, allocations: 314.8 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.006301, allocations: 12 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.406e-05/0.006365, allocations: 98.53 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.459e-05/0.006419, allocations: 28.84 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006422, allocations: 4.031 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.183e-05/0.006513, allocations: 77.7 kB / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.006528, allocations: 8 kB / 0.986 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.006536, allocations: 4 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.006549, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.006621, allocations: 4 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.006627, allocations: 4 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.006688, allocations: 15.94 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.006695, allocations: 0 / 0.986 GB, free: 13.94 MB / 0.948 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 7.495e-05/0.00677, allocations: 125.8 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.006779, allocations: 3.938 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.907e-05/0.006798, allocations: 7.797 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.006802, allocations: 4 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.006807, allocations: 0 / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.006811, allocations: 0 / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.521e-05/0.006886, allocations: 113.3 kB / 0.9862 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.006888, allocations: 3.938 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.006905, allocations: 4 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.006906, allocations: 3.938 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.006915, allocations: 3.938 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.006917, allocations: 4 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.006918, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.007023, allocations: 97.06 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.007056, allocations: 7.984 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.007075, allocations: 7.938 kB / 0.9864 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-05/0.007124, allocations: 10.8 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.00716, allocations: 4 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.007165, allocations: 0 / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.007208, allocations: 95.33 kB / 0.9865 GB, free: 13.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007208, allocations: 0 / 0.9865 GB, free: 13.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001299/0.007338, allocations: 12 kB / 0.9865 GB, free: 13.39 MB / 0.948 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.0001042/0.007442, allocations: 103.2 kB / 0.9866 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.007555, allocations: 35.92 kB / 0.9866 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.007557, allocations: 0 / 0.9866 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.385e-05/0.007591, allocations: 19.98 kB / 0.9866 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.007717, allocations: 4 kB / 0.9866 GB, free: 13.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.008029, allocations: 162.4 kB / 0.9868 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.983e-05/0.008079, allocations: 67.33 kB / 0.9869 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.008111, allocations: 20.48 kB / 0.9869 GB, free: 12.93 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.008112, allocations: 0 / 0.9869 GB, free: 12.93 MB / 0.948 GB Notification: Performance of Templates: time 0.001952/0.01006, allocations: 0.8955 MB / 0.9878 GB, free: 12.04 MB / 0.948 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: 6.612741222605109]