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.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.001653/0.001653, allocations: 110 kB / 18.93 MB, free: 2.945 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.002058/0.002058, allocations: 187 kB / 22.22 MB, free: 5.164 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.561/1.561, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.298/3.298, allocations: 496 MB / 0.7835 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002044/0.002044, allocations: 67.33 kB / 1.138 GB, free: 33.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.389, allocations: 173.6 MB / 1.307 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003105/0.3922, allocations: 1.481 MB / 1.309 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005443/0.3927, allocations: 191.4 kB / 1.309 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.3927, allocations: 3.938 kB / 1.309 GB, free: 104 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.3928, allocations: 0 / 1.309 GB, free: 104 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.393, allocations: 19.86 kB / 1.309 GB, free: 84 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.3933, allocations: 61.97 kB / 1.309 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.3934, allocations: 59.92 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3935, allocations: 7.938 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.3936, allocations: 27.92 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.3937, allocations: 23.83 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.3937, allocations: 4 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.766e-05/0.3937, allocations: 4 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.3937, allocations: 15.98 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.3938, allocations: 27.86 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.3939, allocations: 43.86 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3939, allocations: 4 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3939, allocations: 0 / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.3939, allocations: 0 / 1.309 GB, free: 15.81 MB / 1.014 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.0005737/0.3945, allocations: 270.3 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3945, allocations: 8.031 kB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.3946, allocations: 0.9375 kB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3947, allocations: 134.4 kB / 1.31 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3947, allocations: 4.375 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.3947, allocations: 384 / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.3949, allocations: 76.75 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3949, allocations: 192 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3949, allocations: 7.938 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3949, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.215e-05/0.395, allocations: 16 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.3955, allocations: 247.9 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.3956, allocations: 38.56 kB / 1.31 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.3956, allocations: 12.86 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.3956, allocations: 0 / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.3959, allocations: 75.39 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3959, allocations: 0 / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002423/0.3961, allocations: 77.62 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.999e-05/0.3962, allocations: 106.8 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.555e-05/0.3963, allocations: 105.8 kB / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3963, allocations: 25.7 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.3964, allocations: 84.14 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.3964, allocations: 7.953 kB / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.3965, allocations: 25.66 kB / 1.31 GB, free: 14.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3966, allocations: 318.8 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.3966, allocations: 12 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.028e-05/0.3967, allocations: 42.44 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.692e-05/0.3968, allocations: 28.84 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3968, allocations: 0 / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001126/0.3969, allocations: 54.08 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3969, allocations: 4 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3969, allocations: 3.984 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3969, allocations: 4.094 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.397, allocations: 12 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.397, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.3971, allocations: 11.92 kB / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3971, allocations: 4 kB / 1.311 GB, free: 13.8 MB / 1.014 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.0001104/0.3972, allocations: 121.7 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.3973, allocations: 4 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.3973, allocations: 7.688 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3973, allocations: 4 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3973, allocations: 4 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3973, allocations: 3.984 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.3975, allocations: 144.6 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3975, allocations: 0 / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.3975, allocations: 4 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3975, allocations: 0 / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3975, allocations: 7.922 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3975, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3975, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.3976, allocations: 97 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.3977, allocations: 7.984 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.3977, allocations: 0 / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3978, allocations: 11.98 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.3978, allocations: 7.984 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.3979, allocations: 0 / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.493e-05/0.3979, allocations: 83.28 kB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3979, allocations: 0 / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002054/0.3981, allocations: 19.95 kB / 1.311 GB, free: 13.21 MB / 1.014 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.0001322/0.3983, allocations: 100 kB / 1.312 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.3984, allocations: 27.98 kB / 1.312 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3984, allocations: 0 / 1.312 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.3984, allocations: 23.88 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.3986, allocations: 9.656 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.399, allocations: 128.4 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3994, allocations: 0.6807 MB / 1.312 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.691e-05/0.3994, allocations: 7.984 kB / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.3995, allocations: 15.44 kB / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/0.3995, allocations: 0 / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of Templates: time 0.003832/0.4033, allocations: 0.8991 MB / 1.313 GB, free: 11.27 MB / 1.014 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: 9.166259386576712]