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.001448/0.001448, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001776/0.001776, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8813/0.8813, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.718/1.718, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.232e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001974/0.001996, allocations: 1.482 MB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003414/0.002337, allocations: 179.3 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.002375, allocations: 4 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.0024, allocations: 0 / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.002606, allocations: 23.84 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.002753, allocations: 61.91 kB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.732e-05/0.00284, allocations: 59.84 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.002928, allocations: 4 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.003, allocations: 39.89 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.003066, allocations: 15.98 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.003092, allocations: 8 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.003103, allocations: 8 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.003125, allocations: 15.91 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.003161, allocations: 19.98 kB / 0.9828 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003266, allocations: 55.84 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.003269, allocations: 0 / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.433e-06/0.003271, allocations: 0 / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.003275, allocations: 0 / 0.9829 GB, free: 0.5898 MB / 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.000457/0.003732, allocations: 286.2 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.003772, allocations: 12.03 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.003801, allocations: 38.69 kB / 0.9832 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.003831, allocations: 8.938 kB / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.31e-05/0.003914, allocations: 113.7 kB / 0.9833 GB, free: 76 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.003927, allocations: 4.375 kB / 0.9833 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.003937, allocations: 4.375 kB / 0.9833 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.004093, allocations: 128.2 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.0041, allocations: 192 / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.004114, allocations: 8.375 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.00412, allocations: 4.125 kB / 0.9835 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.004164, allocations: 23.86 kB / 0.9835 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.004523, allocations: 240 kB / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/0.00462, allocations: 46.56 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.004647, allocations: 20.88 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.004657, allocations: 0 / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.004802, allocations: 71.33 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.004805, allocations: 3.984 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0001691/0.004974, allocations: 73.64 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.005026, allocations: 106.8 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.681e-05/0.005083, allocations: 110.1 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.005097, allocations: 25.7 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.005133, allocations: 92.08 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.005151, allocations: 19.83 kB / 0.9843 GB, free: 14.97 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.005184, allocations: 21.72 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.00526, allocations: 318.8 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.005286, allocations: 12.25 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.405e-05/0.00534, allocations: 89.97 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.057e-05/0.005391, allocations: 40.91 kB / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.005393, allocations: 0 / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.973e-05/0.005482, allocations: 77.72 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.005496, allocations: 8 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.0055, allocations: 0 / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.005511, allocations: 4.031 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.005572, allocations: 7.938 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.005577, allocations: 3.938 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.00564, allocations: 15.98 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.005647, allocations: 0 / 0.9848 GB, free: 14.34 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 6.683e-05/0.005713, allocations: 113.8 kB / 0.9849 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.005724, allocations: 7.938 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.718e-05/0.005741, allocations: 7.797 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005742, allocations: 0 / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.005747, allocations: 4 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005749, allocations: 4 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.382e-05/0.005833, allocations: 136.7 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005834, allocations: 0 / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.005848, allocations: 4 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005849, allocations: 0 / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.005856, allocations: 3.938 kB / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.005859, allocations: 3.984 kB / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.00586, allocations: 0 / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.632e-05/0.005956, allocations: 101 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.005987, allocations: 15.92 kB / 0.9852 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.006002, allocations: 4 kB / 0.9852 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.00605, allocations: 11.98 kB / 0.9852 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.006077, allocations: 0 / 0.9852 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.006083, allocations: 7.984 kB / 0.9852 GB, free: 13.85 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.006115, allocations: 87.34 kB / 0.9853 GB, free: 13.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006115, allocations: 0 / 0.9853 GB, free: 13.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001346/0.006249, allocations: 16 kB / 0.9853 GB, free: 13.75 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.0005016/0.006751, allocations: 0.6324 MB / 0.986 GB, free: 13.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.006862, allocations: 35.98 kB / 0.986 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.006864, allocations: 4 kB / 0.986 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.006893, allocations: 19.94 kB / 0.986 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.007022, allocations: 2.969 kB / 0.986 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.007904, allocations: 1.219 MB / 0.9872 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.007948, allocations: 67.3 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.007983, allocations: 4 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.008028, allocations: 20.48 kB / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.008028, allocations: 0 / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.02367, allocations: 2.541 MB / 0.9898 GB, free: 9.227 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.86/6.884, allocations: 3.094 kB / 0.9898 GB, free: 9.227 MB / 0.948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --stepSize=31104 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 420.0] 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: 10.84302852768451]